Uses of Class
org.apache.pulsar.client.api.PulsarClientException
-
Packages that use PulsarClientException Package Description org.apache.pulsar.client.api Pulsar Client API. -
-
Uses of PulsarClientException in org.apache.pulsar.client.api
Subclasses of PulsarClientException in org.apache.pulsar.client.api Modifier and Type Class Description static classPulsarClientException.AlreadyClosedExceptionAlready closed exception thrown by Pulsar client.static classPulsarClientException.AuthenticationExceptionAuthentication exception thrown by Pulsar client.static classPulsarClientException.AuthorizationExceptionAuthorization exception thrown by Pulsar client.static classPulsarClientException.BrokerMetadataExceptionBroker metadata exception thrown by Pulsar client.static classPulsarClientException.BrokerPersistenceExceptionBroker persistence exception thrown by Pulsar client.static classPulsarClientException.ChecksumExceptionChecksum exception thrown by Pulsar client.static classPulsarClientException.ConnectExceptionConnect exception thrown by Pulsar client.static classPulsarClientException.ConsumerAssignExceptionConsumer assign exception thrown by Pulsar client.static classPulsarClientException.ConsumerBusyExceptionConsumer busy exception thrown by Pulsar client.static classPulsarClientException.CryptoExceptionCrypto exception thrown by Pulsar client.static classPulsarClientException.GettingAuthenticationDataExceptionGetting authentication data exception thrown by Pulsar client.static classPulsarClientException.IncompatibleSchemaExceptionIncompatible schema exception thrown by Pulsar client.static classPulsarClientException.InvalidConfigurationExceptionInvalid Configuration exception thrown by Pulsar client.static classPulsarClientException.InvalidMessageExceptionInvalid message exception thrown by Pulsar client.static classPulsarClientException.InvalidServiceURLInvalid Service URL exception thrown by Pulsar client.static classPulsarClientException.InvalidTopicNameExceptionInvalid topic name exception thrown by Pulsar client.static classPulsarClientException.LookupExceptionLookup exception thrown by Pulsar client.static classPulsarClientException.MemoryBufferIsFullErrorMemory buffer full error thrown by Pulsar client.static classPulsarClientException.MessageAcknowledgeExceptionConsumer assign exception thrown by Pulsar client.static classPulsarClientException.NotAllowedExceptionNot allowed exception thrown by Pulsar client.static classPulsarClientException.NotConnectedExceptionNot connected exception thrown by Pulsar client.static classPulsarClientException.NotFoundExceptionNot Found exception thrown by Pulsar client.static classPulsarClientException.NotSupportedExceptionNot supported exception thrown by Pulsar client.static classPulsarClientException.ProducerBlockedQuotaExceededErrorProducer blocked quota exceeded error thrown by Pulsar client.static classPulsarClientException.ProducerBlockedQuotaExceededExceptionProducer blocked quota exceeded exception thrown by Pulsar client.static classPulsarClientException.ProducerBusyExceptionProducer busy exception thrown by Pulsar client.static classPulsarClientException.ProducerFencedExceptionProducer fenced exception thrown by Pulsar client.static classPulsarClientException.ProducerQueueIsFullErrorFull producer queue error thrown by Pulsar client.static classPulsarClientException.TimeoutExceptionTimeout exception thrown by Pulsar client.static classPulsarClientException.TooManyRequestsExceptionToo many requests exception thrown by Pulsar client.static classPulsarClientException.TopicDoesNotExistExceptionTopic does not exist and cannot be created.static classPulsarClientException.TopicTerminatedExceptionTopic terminated exception thrown by Pulsar client.static classPulsarClientException.TransactionConflictExceptionConsumer assign exception thrown by Pulsar client.static classPulsarClientException.UnsupportedAuthenticationExceptionUnsupported authentication exception thrown by Pulsar client.Methods in org.apache.pulsar.client.api that return PulsarClientException Modifier and Type Method Description static PulsarClientExceptionPulsarClientException. unwrap(java.lang.Throwable t)Methods in org.apache.pulsar.client.api that throw PulsarClientException Modifier and Type Method Description voidConsumer. acknowledge(java.util.List<MessageId> messageIdList)Acknowledge the consumption of a list of message.voidConsumer. acknowledge(Message<?> message)Acknowledge the consumption of a single message.voidConsumer. acknowledge(MessageId messageId)Acknowledge the consumption of a single message, identified by itsMessageId.voidConsumer. acknowledge(Messages<?> messages)Acknowledge the consumption ofMessages.voidConsumer. acknowledgeCumulative(Message<?> message)Acknowledge the reception of all the messages in the stream up to (and including) the provided message.voidConsumer. acknowledgeCumulative(MessageId messageId)Acknowledge the reception of all the messages in the stream up to (and including) the provided message.Messages<T>Consumer. batchReceive()Batch receiving messages.PulsarClientClientBuilder. build()Construct the finalPulsarClientinstance.voidConsumer. close()Close the consumer and stop the broker to push more messages.voidProducer. close()Close the producer and releases resources allocated.voidPulsarClient. close()Close the PulsarClient and release all the resources.Producer<T>ProducerBuilder. create()Finalize the creation of theProducerinstance.Reader<T>ReaderBuilder. create()Finalize the creation of theReaderinstance.voidMessageCrypto. encrypt(java.util.Set<java.lang.String> encKeys, CryptoKeyReader keyReader, java.util.function.Supplier<BuilderT> messageMetadataBuilderSupplier, java.nio.ByteBuffer payload, java.nio.ByteBuffer outBuffer)voidProducer. flush()Flush all the messages buffered in the client and wait until all messages have been successfully persisted.default AuthenticationDataProviderAuthentication. getAuthData()default AuthenticationDataProviderAuthentication. getAuthData(java.lang.String brokerHostName)Get/Create an authentication data provider which provides the data that this client will be sent to the broker.MessageIdConsumer. getLastMessageId()Get the last message id available for consume.booleanReader. hasMessageAvailable()Check if there is any message available to read from the current position.TransactionBuilderPulsarClient. newTransaction()Create a transaction builder that can be used to configure and construct a transaction.Message<T>Reader. readNext()Read the next message in the topic.Message<T>Reader. readNext(int timeout, java.util.concurrent.TimeUnit unit)Read the next message in the topic waiting for a maximum time.Message<T>Consumer. receive()Receives a single message.Message<T>Consumer. receive(int timeout, java.util.concurrent.TimeUnit unit)Receive a single message.voidConsumer. reconsumeLater(Message<?> message, long delayTime, java.util.concurrent.TimeUnit unit)reconsumeLater the consumption ofMessages.voidConsumer. reconsumeLater(Messages<?> messages, long delayTime, java.util.concurrent.TimeUnit unit)reconsumeLater the consumption ofMessages.voidConsumer. reconsumeLaterCumulative(Message<?> message, long delayTime, java.util.concurrent.TimeUnit unit)reconsumeLater the reception of all the messages in the stream up to (and including) the provided message.voidConsumer. seek(long timestamp)Reset the subscription associated with this consumer to a specific message publish time.voidConsumer. seek(java.util.function.Function<java.lang.String,java.lang.Object> function)Reset the subscription associated with this consumer to a specific message ID or message publish time.voidConsumer. seek(MessageId messageId)Reset the subscription associated with this consumer to a specific message id.voidReader. seek(long timestamp)Reset the subscription associated with this reader to a specific message publish time.voidReader. seek(java.util.function.Function<java.lang.String,java.lang.Object> function)Reset the subscription associated with this consumer to a specific message ID or message publish time.voidReader. seek(MessageId messageId)Reset the subscription associated with this reader to a specific message id.MessageIdProducer. send(T message)Sends a message.MessageIdTypedMessageBuilder. send()Send a message synchronously.voidPulsarClient. shutdown()Perform immediate shutdown of PulsarClient.voidAuthentication. start()Initialize the authentication provider.Consumer<T>ConsumerBuilder. subscribe()Finalize theConsumercreation by subscribing to the topic.voidConsumer. unsubscribe()Unsubscribe the consumer.voidPulsarClient. updateServiceUrl(java.lang.String serviceUrl)Update the service URL this client is using.
-