Package org.apache.kafka.streams
Interface ClientInstanceIds
public interface ClientInstanceIds
Encapsulates the 
client instance id used for metrics collection by
 producers, consumers, and the admin client used by Kafka Streams.- 
Method SummaryModifier and TypeMethodDescriptionReturns theclient instance idof the admin client.Returns theclient instance idof the consumers.Returns theclient instance idof the producers.
- 
Method Details- 
adminInstanceIdUuid adminInstanceId()Returns theclient instance idof the admin client.- Returns:
- the client instance idof the admin client
- Throws:
- IllegalStateException- If telemetry is disabled on the admin client.
 
- 
consumerInstanceIdsReturns theclient instance idof the consumers.- Returns:
- a map from thread key to client instance id
 
- 
producerInstanceIdsReturns theclient instance idof the producers.- Returns:
- a map from thread key to client instance id
 
 
-