pulsar-client-cpp
|
Classes | |
class | AuthAthenz |
class | Authentication |
class | AuthenticationDataProvider |
class | AuthFactory |
class | AuthOauth2 |
class | AuthTls |
class | AuthToken |
class | BrokerConsumerStats |
class | CachedToken |
class | Client |
class | ClientConfiguration |
class | ConsoleLoggerFactory |
class | Consumer |
class | ConsumerConfiguration |
class | CryptoKeyReader |
class | DefaultCryptoKeyReader |
class | DeprecatedException |
class | EncryptionKeyInfo |
class | FileLoggerFactory |
class | KeySharedPolicy |
class | Logger |
class | LoggerFactory |
class | Message |
class | MessageBatch |
class | MessageBuilder |
class | MessageId |
class | MessageRoutingPolicy |
class | Oauth2Flow |
class | Oauth2TokenResult |
class | Producer |
class | ProducerConfiguration |
class | Reader |
class | ReaderConfiguration |
class | SchemaInfo |
class | TopicMetadata |
Typedefs | |
typedef std::shared_ptr< AuthenticationDataProvider > | AuthenticationDataPtr |
typedef std::shared_ptr< Authentication > | AuthenticationPtr |
typedef std::map< std::string, std::string > | ParamMap |
typedef std::function< std::string()> | TokenSupplier |
typedef std::shared_ptr< Oauth2TokenResult > | Oauth2TokenResultPtr |
typedef std::shared_ptr< Oauth2Flow > | FlowPtr |
typedef std::shared_ptr< CachedToken > | CachedTokenPtr |
typedef std::function< void(Result result, BrokerConsumerStats brokerConsumerStats)> | BrokerConsumerStatsCallback |
typedef std::function< void(Result, Producer)> | CreateProducerCallback |
typedef std::function< void(Result, Consumer)> | SubscribeCallback |
typedef std::function< void(Result, Reader)> | ReaderCallback |
typedef std::function< void(Result, const std::vector< std::string > &)> | GetPartitionsCallback |
typedef std::function< void(Result)> | CloseCallback |
typedef std::shared_ptr< ConsumerImplBase > | ConsumerImplBasePtr |
typedef std::function< void(Result result)> | ResultCallback |
Callback definition for non-data operation. | |
typedef std::function< void(Result, const Message &msg)> | ReceiveCallback |
typedef std::function< void(Consumer consumer, const Message &msg)> | MessageListener |
Callback definition for MessageListener. | |
typedef std::shared_ptr< CryptoKeyReader > | CryptoKeyReaderPtr |
typedef std::shared_ptr< EncryptionKeyInfoImpl > | EncryptionKeyInfoImplPtr |
typedef std::pair< int, int > | StickyRange |
typedef std::vector< StickyRange > | StickyRanges |
typedef std::shared_ptr< MessageRoutingPolicy > | MessageRoutingPolicyPtr |
typedef std::function< void(Result)> | FlushCallback |
typedef std::shared_ptr< ProducerImplBase > | ProducerImplBasePtr |
typedef std::function< void(Result, const MessageId &messageId)> | SendCallback |
typedef std::function< void(Result result, bool hasMessageAvailable)> | HasMessageAvailableCallback |
typedef std::function< void(Result result, MessageId messageId)> | GetLastMessageIdCallback |
typedef std::function< void(Reader reader, const Message &msg)> | ReaderListener |
Callback definition for MessageListener. | |
typedef std::map< std::string, std::string > | StringMap |
Functions | |
PULSAR_PUBLIC const char * | strResult (Result result) |
PULSAR_PUBLIC std::ostream & | operator<< (std::ostream &s, pulsar::Result result) |
PULSAR_PUBLIC const char * | strSchemaType (SchemaType schemaType) |
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
enum pulsar::ConsumerType |
enum pulsar::Result |
Collection of return codes
Enumerator | |
---|---|
ResultUnknownError | Operation successful. |
ResultInvalidConfiguration | Unknown error happened on broker. |
ResultTimeout | Invalid configuration. |
ResultLookupError | Operation timed out. |
ResultConnectError | Broker lookup failed. |
ResultReadError | Failed to connect to broker. |
ResultAuthenticationError | Failed to read from socket. |
ResultAuthorizationError | Authentication failed on broker. |
ResultErrorGettingAuthenticationData | Client is not authorized to create producer/consumer. |
ResultBrokerMetadataError | Client cannot find authorization data. |
ResultBrokerPersistenceError | Broker failed in updating metadata. |
ResultChecksumError | Broker failed to persist entry. |
ResultConsumerBusy | Corrupt message checksum failure. |
ResultNotConnected | Exclusive consumer is already connected. |
ResultAlreadyClosed | Producer/Consumer is not currently connected to broker. |
ResultInvalidMessage | Producer/Consumer is already closed and not accepting any operation. |
ResultConsumerNotInitialized | Error in publishing an already used message. |
ResultProducerNotInitialized | Consumer is not initialized. |
ResultProducerBusy | Producer is not initialized. |
ResultTooManyLookupRequestException | Producer with same name is already connected. |
ResultInvalidTopicName | Too Many concurrent LookupRequest. |
ResultInvalidUrl | Invalid topic name. |
ResultServiceUnitNotReady | Client Initialized with Invalid Broker Url (VIP Url passed to Client Constructor) |
ResultOperationNotSupported | Service Unit unloaded between client did lookup and producer/consumer got created |
ResultProducerBlockedQuotaExceededException | Producer is blocked. |
ResultProducerQueueIsFull | Producer is getting exception. |
ResultMessageTooBig | Producer queue is full. |
ResultTopicNotFound | Trying to send a messages exceeding the max size. |
ResultSubscriptionNotFound | Topic not found. |
ResultConsumerNotFound | Subscription not found. |
ResultUnsupportedVersionError | Consumer not found. |
ResultTopicTerminated | Error when an older client/version doesn't support a required feature. |
ResultCryptoError | Topic was already terminated. |
ResultIncompatibleSchema | Error when crypto operation fails. |
ResultConsumerAssignError | Specified schema is incompatible with the topic's schema. |
ResultCumulativeAcknowledgementNotAllowedError | Error when a new consumer connected but can't assign messages to this consumer |
ResultTransactionCoordinatorNotFoundError | Not allowed to call cumulativeAcknowledgement in Shared and Key_Shared subscription mode |
ResultInvalidTxnStatusError | Transaction coordinator not found. |
ResultNotAllowedError | Invalid txn status error. |
ResultTransactionConflict | Not allowed. |
ResultTransactionNotFound | Transaction ack conflict. |
ResultProducerFenced | Transaction not found. |
ResultMemoryBufferIsFull | Producer was fenced by broker. |
enum pulsar::SchemaType |