cschneider commented on a change in pull request #5: Sling 8414
URL: 
https://github.com/apache/sling-org-apache-sling-distribution-journal-kafka/pull/5#discussion_r283107910
 
 

 ##########
 File path: 
src/main/java/org/apache/sling/distribution/journal/kafka/KafkaClientProvider.java
 ##########
 @@ -203,6 +222,14 @@ private void closeQuietly(final Closeable closeable) {
     @Nonnull
     private synchronized KafkaProducer<String, byte[]> buildKafkaProducer() {
         if (rawProducer == null) {
+            ClassLoader oldClassloader = 
Thread.currentThread().getContextClassLoader();
 
 Review comment:
   Kafka uses the wrong classloader by default in OSGi when loading the sasl 
classes. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to