public class HostInfo extends Object
KafkaStreams
application.
Instances of this class can be obtained by calling one of:
KafkaStreams.allMetadata()
KafkaStreams.allMetadataForStore(String)
KafkaStreams.metadataForKey(String, Object, StreamPartitioner)
KafkaStreams.metadataForKey(String, Object, Serializer)
The HostInfo is constructed during Partition Assignment
see org.apache.kafka.streams.processor.internals.StreamPartitionAssignor
It is extracted from the config StreamsConfig.APPLICATION_SERVER_CONFIG
If developers wish to expose an endpoint in their KafkaStreams applications they should provide the above
config.public HostInfo(String host, int port)