Enum Class KafkaListenerObservation

java.lang.Object
java.lang.Enum<KafkaListenerObservation>
org.springframework.kafka.support.micrometer.KafkaListenerObservation
All Implemented Interfaces:
io.micrometer.observation.docs.ObservationDocumentation, Serializable, Comparable<KafkaListenerObservation>, Constable

public enum KafkaListenerObservation extends Enum<KafkaListenerObservation> implements io.micrometer.observation.docs.ObservationDocumentation
Spring for Apache Kafka Observation for listeners.
Since:
3.0
Author:
Gary Russell
  • Enum Constant Details

    • LISTENER_OBSERVATION

      public static final KafkaListenerObservation LISTENER_OBSERVATION
      Observation for Apache Kafka listeners.
  • Method Details

    • values

      public static KafkaListenerObservation[] 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 KafkaListenerObservation 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