Interface KafkaConnectionDetails

All Superinterfaces:
ConnectionDetails

public interface KafkaConnectionDetails extends ConnectionDetails
Details required to establish a connection to a Kafka service.
Since:
3.1.0
Author:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • Method Details

    • getBootstrapNodes

      List<KafkaConnectionDetails.Node> getBootstrapNodes()
      Returns the list of bootstrap nodes.
      Returns:
      the list of bootstrap nodes
    • getConsumerBootstrapNodes

      default List<KafkaConnectionDetails.Node> getConsumerBootstrapNodes()
      Returns the list of bootstrap nodes used for consumers.
      Returns:
      the list of bootstrap nodes used for consumers
    • getProducerBootstrapNodes

      default List<KafkaConnectionDetails.Node> getProducerBootstrapNodes()
      Returns the list of bootstrap nodes used for producers.
      Returns:
      the list of bootstrap nodes used for producers
    • getAdminBootstrapNodes

      default List<KafkaConnectionDetails.Node> getAdminBootstrapNodes()
      Returns the list of bootstrap nodes used for the admin.
      Returns:
      the list of bootstrap nodes used for the admin
    • getStreamsBootstrapNodes

      default List<KafkaConnectionDetails.Node> getStreamsBootstrapNodes()
      Returns the list of bootstrap nodes used for Kafka Streams.
      Returns:
      the list of bootstrap nodes used for Kafka Streams