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 theProducerinstance.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 theProducerinstance 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.voidProducerInterceptor. 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 MessageProducerInterceptor. beforeSend(Producer producer, Message message)This is called fromsend(Object)andsendAsync(Object)methods, before send the message to the brokers.MessageProducerInterceptorWrapper. beforeSend(Producer producer, Message message)voidProducerInterceptor. 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.voidProducerInterceptorWrapper. onSendAcknowledgement(Producer producer, Message message, MessageId msgId, java.lang.Throwable exception)
-