cmccabe commented on pull request #9197:
URL: https://github.com/apache/kafka/pull/9197#issuecomment-676589017


   I verified that this removed the dependency by doing this:
   ```
   ./gradlew install -x check -x test
   find | grep jackson | grep jar$ | xargs -l rm
   ```
   And then testing the console consumer and console producer continued to work.
   
   (Since the broker does require jackson to run I was using a prebuilt kafka 
to run the clients against).
   
   Without this PR, the console consumer fails with this exception when the 
Jackson jars are not present:
   ```
   [2020-08-19 11:27:53,468] ERROR Error processing message, terminating 
consumer process:  (kafka.tools.ConsoleConsumer$)
   java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/JsonNode
           at 
org.apache.kafka.clients.consumer.internals.AbstractCoordinator.sendFindCoordinatorRequest(AbstractCoordinator.java:787)
   ```


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to