Interface KafkaConnectionDetails
- All Superinterfaces:
ConnectionDetails
Details required to establish a connection to a Kafka service.
- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
A Kafka node. -
Method Summary
Modifier and TypeMethodDescriptiondefault List<KafkaConnectionDetails.Node>
Returns the list of bootstrap nodes used for the admin.Returns the list of bootstrap nodes.default List<KafkaConnectionDetails.Node>
Returns the list of bootstrap nodes used for consumers.default List<KafkaConnectionDetails.Node>
Returns the list of bootstrap nodes used for producers.default List<KafkaConnectionDetails.Node>
Returns the list of bootstrap nodes used for Kafka Streams.
-
Method Details
-
getBootstrapNodes
List<KafkaConnectionDetails.Node> getBootstrapNodes()Returns the list of bootstrap nodes.- Returns:
- the list of bootstrap nodes
-
getConsumerBootstrapNodes
Returns the list of bootstrap nodes used for consumers.- Returns:
- the list of bootstrap nodes used for consumers
-
getProducerBootstrapNodes
Returns the list of bootstrap nodes used for producers.- Returns:
- the list of bootstrap nodes used for producers
-
getAdminBootstrapNodes
Returns the list of bootstrap nodes used for the admin.- Returns:
- the list of bootstrap nodes used for the admin
-
getStreamsBootstrapNodes
Returns the list of bootstrap nodes used for Kafka Streams.- Returns:
- the list of bootstrap nodes used for Kafka Streams
-