Enum Class ProcessingOrder

java.lang.Object
java.lang.Enum<ProcessingOrder>
io.smallrye.reactive.messaging.kafka.ProcessingOrder
All Implemented Interfaces:
Serializable, Comparable<ProcessingOrder>, Constable

public enum ProcessingOrder extends Enum<ProcessingOrder>
Processing order modes for the throttled commit strategy.

These modes control which messages can be processed concurrently while maintaining ordering guarantees within groups (keys or partitions).

  • Enum Constant Details

    • UNORDERED

      public static final ProcessingOrder UNORDERED
    • KEY

      public static final ProcessingOrder KEY
      Messages with the same key from the same topic-partition are processed sequentially,
    • PARTITION

      public static final ProcessingOrder PARTITION
      Messages from the same topic-partition are processed sequentially
  • Method Details

    • values

      public static ProcessingOrder[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProcessingOrder valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static ProcessingOrder of(String order)