23#include <pulsar/defines.h>
68 ResultProducerBlockedQuotaExceededError,
97PULSAR_PUBLIC
const char* strResult(
Result result);
99PULSAR_PUBLIC std::ostream& operator<<(std::ostream& s,
pulsar::Result result);
Definition: Authentication.h:30
Result
Definition: Result.h:31
@ ResultNotConnected
Exclusive consumer is already connected.
Definition: Result.h:53
@ ResultTooManyLookupRequestException
Producer with same name is already connected.
Definition: Result.h:61
@ ResultSubscriptionNotFound
Topic not found.
Definition: Result.h:73
@ ResultOk
An internal error code used for retry.
Definition: Result.h:33
@ ResultProducerQueueIsFull
Producer is getting exception.
Definition: Result.h:70
@ ResultUnknownError
Operation successful.
Definition: Result.h:35
@ ResultBrokerMetadataError
Client cannot find authorization data.
Definition: Result.h:48
@ ResultAuthenticationError
Failed to read from socket.
Definition: Result.h:44
@ ResultProducerNotInitialized
Consumer is not initialized.
Definition: Result.h:59
@ ResultCumulativeAcknowledgementNotAllowedError
Definition: Result.h:82
@ ResultTransactionConflict
Not allowed.
Definition: Result.h:87
@ ResultBrokerPersistenceError
Broker failed in updating metadata.
Definition: Result.h:49
@ ResultLookupError
Operation timed out.
Definition: Result.h:40
@ ResultMessageTooBig
Producer queue is full.
Definition: Result.h:71
@ ResultConsumerNotInitialized
Error in publishing an already used message.
Definition: Result.h:58
@ ResultAuthorizationError
Authentication failed on broker.
Definition: Result.h:45
@ ResultConsumerBusy
Corrupt message checksum failure.
Definition: Result.h:52
@ ResultOperationNotSupported
Definition: Result.h:67
@ ResultChecksumError
Broker failed to persist entry.
Definition: Result.h:50
@ ResultTopicTerminated
Error when an older client/version doesn't support a required feature.
Definition: Result.h:76
@ ResultProducerFenced
Transaction not found.
Definition: Result.h:89
@ ResultTransactionCoordinatorNotFoundError
Definition: Result.h:84
@ ResultInterrupted
Client-wide memory limit has been reached.
Definition: Result.h:93
@ ResultInvalidUrl
Invalid topic name.
Definition: Result.h:64
@ ResultAlreadyClosed
Producer/Consumer is not currently connected to broker.
Definition: Result.h:54
@ ResultInvalidTxnStatusError
Transaction coordinator not found.
Definition: Result.h:85
@ ResultMemoryBufferIsFull
Producer was fenced by broker.
Definition: Result.h:91
@ ResultErrorGettingAuthenticationData
Client is not authorized to create producer/consumer.
Definition: Result.h:46
@ ResultInvalidMessage
Producer/Consumer is already closed and not accepting any operation.
Definition: Result.h:56
@ ResultUnsupportedVersionError
Consumer not found.
Definition: Result.h:75
@ ResultReadError
Failed to connect to broker.
Definition: Result.h:42
@ ResultConnectError
Broker lookup failed.
Definition: Result.h:41
@ ResultProducerBlockedQuotaExceededException
Producer is blocked.
Definition: Result.h:69
@ ResultConsumerAssignError
Specified schema is incompatible with the topic's schema.
Definition: Result.h:80
@ ResultCryptoError
Topic was already terminated.
Definition: Result.h:77
@ ResultConsumerNotFound
Subscription not found.
Definition: Result.h:74
@ ResultProducerBusy
Producer is not initialized.
Definition: Result.h:60
@ ResultTopicNotFound
Trying to send a messages exceeding the max size.
Definition: Result.h:72
@ ResultNotAllowedError
Invalid txn status error.
Definition: Result.h:86
@ ResultInvalidConfiguration
Unknown error happened on broker.
Definition: Result.h:37
@ ResultTimeout
Invalid configuration.
Definition: Result.h:39
@ ResultTransactionNotFound
Transaction ack conflict.
Definition: Result.h:88
@ ResultServiceUnitNotReady
Client Initialized with Invalid Broker Url (VIP Url passed to Client Constructor)
Definition: Result.h:65
@ ResultInvalidTopicName
Too Many concurrent LookupRequest.
Definition: Result.h:63
@ ResultIncompatibleSchema
Error when crypto operation fails.
Definition: Result.h:79