Enum ParallelConsumerOptions.CommitMode

java.lang.Object
java.lang.Enum<ParallelConsumerOptions.CommitMode>
io.confluent.parallelconsumer.ParallelConsumerOptions.CommitMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ParallelConsumerOptions.CommitMode>, java.lang.constant.Constable
Enclosing class:
ParallelConsumerOptions<K,​V>

public static enum ParallelConsumerOptions.CommitMode
extends java.lang.Enum<ParallelConsumerOptions.CommitMode>
The type of commit to be made, with either a transactions configured Producer where messages produced are committed back to the Broker along with the offsets they originated from, or with the faster simpler Consumer offset system either synchronously or asynchronously
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    PERIODIC_CONSUMER_ASYNCHRONOUS
    Periodically commits offsets asynchronously.
    PERIODIC_CONSUMER_SYNC
    Periodically synchronous commits with the Consumer.
    PERIODIC_TRANSACTIONAL_PRODUCER
    Periodically commits through the Producer using transactions.
  • Method Summary

    Modifier and Type Method Description
    static ParallelConsumerOptions.CommitMode valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static ParallelConsumerOptions.CommitMode[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait