You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
philwebb
changed the title
Problem on overriding kafka properties
KafkaProperties fail to build SSL properties when the bundle name is an empty string
Dec 18, 2024
Problem on overriding kafka properties (https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java).
I have an application.yaml
If I need to set
spring.kafka.ssl.bundle
to null in application-local.yaml after starting it will always be empty string instead ofnull
.I think kafka properties should be modified to check bundle name is not emtpy.
if (getBundle() != null)
=>if (getBundle() != null && **getBundle().length > 0**)
in this part of
KafkaProperties
The text was updated successfully, but these errors were encountered: