Uses of Class
io.confluent.parallelconsumer.ParallelConsumerOptions.ParallelConsumerOptionsBuilder
Packages that use ParallelConsumerOptions.ParallelConsumerOptionsBuilder
-
Uses of ParallelConsumerOptions.ParallelConsumerOptionsBuilder in io.confluent.parallelconsumer
Methods in io.confluent.parallelconsumer that return ParallelConsumerOptions.ParallelConsumerOptionsBuilderModifier and TypeMethodDescriptionThe maximum number of messages to attempt to pass into the user functions.static <K,V> ParallelConsumerOptions.ParallelConsumerOptionsBuilder<K, V> ParallelConsumerOptions.builder()ParallelConsumerOptions.ParallelConsumerOptionsBuilder.commitMode(ParallelConsumerOptions.CommitMode commitMode) TheParallelConsumerOptions.CommitModeto be usedParallelConsumerOptions.ParallelConsumerOptionsBuilder.consumer(org.apache.kafka.clients.consumer.Consumer<K, V> consumer) Required parameter for all use.ParallelConsumerOptions.ParallelConsumerOptionsBuilder.defaultMessageRetryDelay(Duration defaultMessageRetryDelay) When a message fails, how long the system should wait before trying that message again.ParallelConsumerOptions.ParallelConsumerOptionsBuilder.managedExecutorService(String managedExecutorService) Path to Managed executor service for Java EEParallelConsumerOptions.ParallelConsumerOptionsBuilder.managedThreadFactory(String managedThreadFactory) Path to Managed thread factory for Java EEParallelConsumerOptions.ParallelConsumerOptionsBuilder.maxConcurrency(int maxConcurrency) Controls the maximum degree of concurrency to occur.ParallelConsumerOptions.ParallelConsumerOptionsBuilder.maxFailureHistory(int maxFailureHistory) ParallelConsumerOptions.ParallelConsumerOptionsBuilder.offsetCommitTimeout(Duration offsetCommitTimeout) Controls how long to block while waiting for offsets to be committed.ParallelConsumerOptions.ParallelConsumerOptionsBuilder.ordering(ParallelConsumerOptions.ProcessingOrder ordering) TheParallelConsumerOptions.ProcessingOrdertype to useParallelConsumerOptions.ParallelConsumerOptionsBuilder.producer(org.apache.kafka.clients.producer.Producer<K, V> producer) Supplying a producer is only needed if using the produce flows.ParallelConsumerOptions.ParallelConsumerOptionsBuilder.retryDelayProvider(Function<RecordContext<K, V>, Duration> retryDelayProvider) When present, use this to generate the retry delay, instead ofParallelConsumerOptions.getDefaultMessageRetryDelay().ParallelConsumerOptions.ParallelConsumerOptionsBuilder.sendTimeout(Duration sendTimeout) Controls how long to block while waiting for theProducer.send(org.apache.kafka.clients.producer.ProducerRecord<K, V>)to complete for any ProducerRecords returned from the user-function.ParallelConsumerOptions.ParallelConsumerOptionsBuilder.thresholdForTimeSpendInQueueWarning(Duration thresholdForTimeSpendInQueueWarning) Configure the amount of delay a record experiences, before a warning is logged.ParallelConsumerOptions.toBuilder()