Closed Woodz closed 4 years ago
This auto configuration is in spring boot, not here: https://github.com/spring-projects/spring-boot/issues/19220.
This auto configuration is in spring boot, not here: spring-projects/spring-boot#19220.
Agreed @garyrussell, apologies for raising an incorrect issue
I believe that in all scenarios where SpringBoot autoconfig for Kafka has "ssl" property set, "security.protocol" should be set to "SSL". Therefore, to avoid confusion (e.g. #157) and to minimise extra config, I propose that the Kafka Spring client sets this property automatically, thus avoiding the need to set it via the "properties" map in the YML file or programmatically.
Spring Boot version: 2.1.9.RELEASE Kafka version: 2.0.1
Example application.yml: