接口 KafkaConnectionDetails

所有超级接口:
ConnectionDetails

public interface KafkaConnectionDetails extends ConnectionDetails
Details required to establish a connection to a Kafka service.
从以下版本开始:
3.1.0
作者:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • 方法详细资料

    • getBootstrapServers

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

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

      default List<String> getProducerBootstrapServers()
      Returns the list of bootstrap servers used for producers.
      返回:
      the list of bootstrap servers used for producers
    • getAdminBootstrapServers

      default List<String> getAdminBootstrapServers()
      Returns the list of bootstrap servers used for the admin.
      返回:
      the list of bootstrap servers used for the admin
    • getStreamsBootstrapServers

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