接口 KafkaConnectionDetails
- 所有超级接口:
ConnectionDetails
Details required to establish a connection to a Kafka service.
- 从以下版本开始:
- 3.1.0
- 作者:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
嵌套类概要
嵌套类修饰符和类型接口说明static interface
Kafka connection details configuration. -
方法概要
修饰符和类型方法说明getAdmin()
Returns the admin configuration.已过时, 待删除: 此 API 元素将从以后的版本中删除。Returns the list of bootstrap servers.Returns the consumer configuration.已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor ofgetConsumer()
Returns the producer configuration.已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor ofgetProducer()
default String
Returns the security protocol.default SslBundle
Returns the SSL bundle.Returns the Kafka Streams configuration.已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor ofgetStreams()
-
方法详细资料
-
getBootstrapServers
Returns the list of bootstrap servers.- 返回:
- the list of bootstrap servers
-
getSslBundle
Returns the SSL bundle.- 返回:
- the SSL bundle
- 从以下版本开始:
- 3.5.0
-
getSecurityProtocol
Returns the security protocol.- 返回:
- the security protocol
- 从以下版本开始:
- 3.5.0
-
getConsumer
Returns the consumer configuration.- 返回:
- the consumer configuration
- 从以下版本开始:
- 3.5.0
-
getProducer
Returns the producer configuration.- 返回:
- the producer configuration
- 从以下版本开始:
- 3.5.0
-
getAdmin
Returns the admin configuration.- 返回:
- the admin configuration
- 从以下版本开始:
- 3.5.0
-
getStreams
Returns the Kafka Streams configuration.- 返回:
- the Kafka Streams configuration
- 从以下版本开始:
- 3.5.0
-
getConsumerBootstrapServers
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor ofgetConsumer()
Returns the list of bootstrap servers used for consumers.- 返回:
- the list of bootstrap servers used for consumers
-
getProducerBootstrapServers
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor ofgetProducer()
Returns the list of bootstrap servers used for producers.- 返回:
- the list of bootstrap servers used for producers
-
getAdminBootstrapServers
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor ofgetAdmin()
Returns the list of bootstrap servers used for the admin.- 返回:
- the list of bootstrap servers used for the admin
-
getStreamsBootstrapServers
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor ofgetStreams()
Returns the list of bootstrap servers used for Kafka Streams.- 返回:
- the list of bootstrap servers used for Kafka Streams
-
getAdmin()