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

    • getBootstrapServers

      List<String> getBootstrapServers()
      Returns the list of bootstrap nodes.
      Returns:
      the list of bootstrap nodes
    • getConsumerBootstrapServers

      default List<String> getConsumerBootstrapServers()
      Returns the list of bootstrap nodes used for consumers.
      Returns:
      the list of bootstrap nodes used for consumers
    • getProducerBootstrapServers

      default List<String> getProducerBootstrapServers()
      Returns the list of bootstrap nodes used for producers.
      Returns:
      the list of bootstrap nodes used for producers
    • getAdminBootstrapNodes

      default List<String> getAdminBootstrapNodes()
      Returns the list of bootstrap nodes used for the admin.
      Returns:
      the list of bootstrap nodes used for the admin
    • getStreamsBootstrapServers

      default List<String> getStreamsBootstrapServers()
      Returns the list of bootstrap nodes used for Kafka Streams.
      Returns:
      the list of bootstrap nodes used for Kafka Streams