You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/11/10 12:36:22 UTC

[GitHub] [camel-quarkus] zhfeng commented on issue #3284: quarkus:dev NPE KafkaProcessor.configureKafkaComponentForDevServices(KafkaProcessor.java:65)

zhfeng commented on issue #3284:
URL: https://github.com/apache/camel-quarkus/issues/3284#issuecomment-965091291


   I think it might be an issue in Quarkus DevServicesKafkaProcessor, see
   https://github.com/quarkusio/quarkus/blob/main/extensions/kafka-client/deployment/src/main/java/io/quarkus/kafka/client/deployment/DevServicesKafkaProcessor.java#L89-L96
   ```java
           if (closeable != null) {
               boolean shouldShutdownTheBroker = !configuration.equals(cfg);
               if (!shouldShutdownTheBroker) {
                   return null;
               }
               shutdownBroker();
               cfg = null;
           }
   ```
   
   It returns ```null``` when there is no changes with configuration which means no needs to restart the kafka container. That cause camel-quarkus-kafka ```KafkaProcessor``` to throw NPE.
   
   So it could be helpful to open a ticket on Quarkus to get some feedback.


-- 
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-unsubscribe@camel.apache.org

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