From fcfea8ff4a6fdcbeeed381b5833bcfaaebb94103 Mon Sep 17 00:00:00 2001 From: Peter Palaga Date: Fri, 23 Jul 2021 11:41:22 +0200 Subject: [PATCH] Workaround for https://github.com/apache/camel-quarkus/issues/2939 --- kafka/src/main/resources/application.properties | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kafka/src/main/resources/application.properties b/kafka/src/main/resources/application.properties index 3d39dd65..33fefb99 100644 --- a/kafka/src/main/resources/application.properties +++ b/kafka/src/main/resources/application.properties @@ -22,8 +22,9 @@ kafka.topic.name=test timer.period = 10000 timer.delay = 10000 -#uncomment to set Kafka instance without Authentication -#camel.component.kafka.brokers=${brokers} +# Kafka instance without Authentication +# Passing ${kafka.bootstrap.servers} is a workaround for https://github.com/apache/camel-quarkus/issues/2939 +camel.component.kafka.brokers=${brokers:${kafka.bootstrap.servers}} # uncomment to set Kafka instance with SASL Plain #camel.component.kafka.brokers=${brokers}