davsclaus commented on code in PR #10555: URL: https://github.com/apache/camel/pull/10555#discussion_r1252656095
########## components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaFetchRecords.java: ########## @@ -244,6 +244,9 @@ protected void createConsumer() { // this may throw an exception if something is wrong with kafka consumer this.consumer = kafkaConsumer.getEndpoint().getKafkaClientFactory().getConsumer(kafkaProps); + var krbLocation = kafkaConsumer.getEndpoint().getConfiguration().getKerberosConfigLocation(); + System.setProperty("java.security.krb5.conf", krbLocation); Review Comment: What happens if this option is not set, then the value is null -- 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