接口的使用
org.springframework.boot.autoconfigure.kafka.KafkaConnectionDetails.Configuration
-
org.springframework.boot.autoconfigure.kafka中KafkaConnectionDetails.Configuration的使用
修饰符和类型方法说明KafkaConnectionDetails.getAdmin()Returns the admin configuration.KafkaConnectionDetails.getConsumer()Returns the consumer configuration.KafkaConnectionDetails.getProducer()Returns the producer configuration.KafkaConnectionDetails.getStreams()Returns the Kafka Streams configuration.Creates a new configuration with the given bootstrap servers.Creates a new configuration with the given bootstrap servers and SSL bundle.KafkaConnectionDetails.Configuration.of(List<String> bootstrapServers, SslBundle sslBundle, String securityProtocol) Creates a new configuration with the given bootstrap servers, SSL bundle and security protocol.