ffang opened a new issue #3154:
URL: https://github.com/apache/camel-quarkus/issues/3154


   If I have KAFKA_HOME environment variable like
   ```
   export KAFKA_HOME=test
   ```
   Then in the 
org.apache.camel.quarkus.component.kafka.KafkaClientFactoryProducer class, the 
kafkaConfig.isEmpty() returns false, since it has one entry "home=test", and 
QuarkusKafkaClientFactory instance will be created
   
   Moreover, in application-configuration-disable-service-binding.properties, 
the 
   ```
   quarkus.kubernetes-service-binding.enabled=false
   ```
   actually takes no effect(I assume when this property is false, Kafka 
configuration properties will not be discovered by the Quarkus Kubernetes 
Service Binding, but this isn't the case).
   
   We can add more kafka properties into 
application-configuration-disable-service-binding.properties like
   ```
   +kafka.client.id=camel-quarkus-client
   +kafka.request.timeout.ms=1000
   ``` 
   However, no matter what the value of 
quarkus.kubernetes-service-binding.enabled is, in the 
org.apache.camel.quarkus.component.kafka.KafkaClientFactoryProducer class, the 
kafkaConfig always has these kafka property entries.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to