GH-815 polishing

Resolves #816
This commit is contained in:
Oleg Zhurakousky
2019-12-17 10:55:27 +01:00
parent 8c3cb8230b
commit d5a72a29d0

View File

@@ -191,7 +191,7 @@ public abstract class AbstractKafkaStreamsBinderProcessor implements Application
if (StringUtils.isEmpty(connectionString)) {
connectionString = (String) propertySources.get(bindingProperties.getBinder() + "-kafkaStreamsBinderEnv").getProperty("spring.cloud.stream.kafka.binder.brokers");
}
if (!StringUtils.isEmpty(connectionString)) {
else {
streamConfigGlobalProperties.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, connectionString);
}