You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2021/07/23 10:57:05 UTC

[camel-quarkus-examples] 02/02: Workaround for https://github.com/apache/camel-quarkus/issues/2939

This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch camel-quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit 784a97c947a1f829dafc92bae15658b7c4caa3ca
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Fri Jul 23 11:41:22 2021 +0200

    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 3d39dd6..33fefb9 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}