java.lang.Object
io.opentelemetry.instrumentation.kafka.internal.KafkaUtil

public final class KafkaUtil extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Details

    • getConsumerGroup

      @Nullable public static String getConsumerGroup(org.apache.kafka.clients.consumer.Consumer<?,?> consumer)
    • getClientId

      @Nullable public static String getClientId(org.apache.kafka.clients.consumer.Consumer<?,?> consumer)