Uses of Interface
org.apache.pulsar.client.api.Producer
-
Packages that use Producer Package Description org.apache.pulsar.client.api Pulsar Client API.org.apache.pulsar.client.api.interceptor Pulsar interceptors. -
-
Uses of Producer in org.apache.pulsar.client.api
Methods in org.apache.pulsar.client.api that return Producer Modifier and Type Method Description Producer<T>
ProducerBuilder. create()
Finalize the creation of theProducer
instance.Methods in org.apache.pulsar.client.api that return types with arguments of type Producer Modifier and Type Method Description java.util.concurrent.CompletableFuture<Producer<T>>
ProducerBuilder. createAsync()
Finalize the creation of theProducer
instance in asynchronous mode.Methods in org.apache.pulsar.client.api with parameters of type Producer Modifier and Type Method Description Message<T>
ProducerInterceptor. beforeSend(Producer<T> producer, Message<T> message)
Deprecated.This is called fromsend(Object)
andsendAsync(Object)
methods, before send the message to the brokers.void
ProducerInterceptor. onSendAcknowledgement(Producer<T> producer, Message<T> message, MessageId msgId, java.lang.Throwable exception)
Deprecated.This method is called when the message sent to the broker has been acknowledged, or when sending the message fails. -
Uses of Producer in org.apache.pulsar.client.api.interceptor
Methods in org.apache.pulsar.client.api.interceptor with parameters of type Producer Modifier and Type Method Description Message
ProducerInterceptor. beforeSend(Producer producer, Message message)
This is called fromsend(Object)
andsendAsync(Object)
methods, before send the message to the brokers.Message
ProducerInterceptorWrapper. beforeSend(Producer producer, Message message)
void
ProducerInterceptor. onSendAcknowledgement(Producer producer, Message message, MessageId msgId, java.lang.Throwable exception)
This method is called when the message sent to the broker has been acknowledged, or when sending the message fails.void
ProducerInterceptorWrapper. onSendAcknowledgement(Producer producer, Message message, MessageId msgId, java.lang.Throwable exception)
-