public interface ClientInstanceIds
client instance id
used for metrics collection by
producers, consumers, and the admin client used by Kafka Streams.Modifier and Type | Method and Description |
---|---|
org.apache.kafka.common.Uuid |
adminInstanceId()
Returns the
client instance id of the admin client. |
Map<String,org.apache.kafka.common.Uuid> |
consumerInstanceIds()
Returns the
client instance id of the consumers. |
Map<String,org.apache.kafka.common.Uuid> |
producerInstanceIds()
Returns the
client instance id of the producers. |
org.apache.kafka.common.Uuid adminInstanceId()
client instance id
of the admin client.client instance id
of the admin clientIllegalStateException
- If telemetry is disabled on the admin client.Map<String,org.apache.kafka.common.Uuid> consumerInstanceIds()
client instance id
of the consumers.client instance id