接口 KafkaConnectionDetails
- 所有超级接口:
ConnectionDetails
Details required to establish a connection to a Kafka service.
- 从以下版本开始:
- 3.1.0
- 作者:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
方法概要
修饰符和类型方法说明Returns the list of bootstrap servers used for the admin.Returns the list of bootstrap servers.Returns the list of bootstrap servers used for consumers.Returns the list of bootstrap servers used for producers.Returns the list of bootstrap servers used for Kafka Streams.
-
方法详细资料
-
getBootstrapServers
Returns the list of bootstrap servers.- 返回:
- the list of bootstrap servers
-
getConsumerBootstrapServers
Returns the list of bootstrap servers used for consumers.- 返回:
- the list of bootstrap servers used for consumers
-
getProducerBootstrapServers
Returns the list of bootstrap servers used for producers.- 返回:
- the list of bootstrap servers used for producers
-
getAdminBootstrapServers
Returns the list of bootstrap servers used for the admin.- 返回:
- the list of bootstrap servers used for the admin
-
getStreamsBootstrapServers
Returns the list of bootstrap servers used for Kafka Streams.- 返回:
- the list of bootstrap servers used for Kafka Streams
-