Uses of Interface
com.rabbitmq.stream.ProducerBuilder
Packages that use ProducerBuilder
-
Uses of ProducerBuilder in com.rabbitmq.stream
Methods in com.rabbitmq.stream that return ProducerBuilderModifier and TypeMethodDescriptionProducerBuilder.batchPublishingDelay(Duration batchPublishingDelay) Period to send a batch of messages.ProducerBuilder.batchSize(int batchSize) The maximum number of messages to accumulate before sending them to the broker.ProducerBuilder.compression(Compression compression) Compression algorithm to use to compress a batch of sub-entries.ProducerBuilder.confirmTimeout(Duration timeout) Time before the client calls the confirm callback to signal outstanding unconfirmed messages timed out.ProducerBuilder.dynamicBatch(boolean dynamicBatch) Adapt batch size depending on ingress rate.ProducerBuilder.enqueueTimeout(Duration timeout) Time before enqueueing of a message fail when the maximum number of unconfirmed is reached.ProducerBuilder.filterValue(Function<Message, String> filterValueExtractor) Logic to extract a filter value from a message.ProducerBuilder.listeners(Resource.StateListener... listeners) AddResource.StateListeners to the producer.ProducerBuilder.maxUnconfirmedMessages(int maxUnconfirmedMessages) The maximum number of unconfirmed outbound messages.The producer name for deduplication (read the documentation before use).Environment.producerBuilder()Create aProducerBuilderto configure and create aProducer.ProducerBuilder.RoutingConfiguration.producerBuilder()Go back to the producer builder.ProducerBuilder.retryOnRecovery(boolean retryOnRecovery) Whether to republish unconfirmed messages after recovery.The stream to send messages to.ProducerBuilder.subEntrySize(int subEntrySize) The number of messages to put in a sub-entry of a publish frame.ProducerBuilder.superStream(String superStream) The super stream to send messages to.