Re: KafkaProducer NullPointerException

2016-04-29 Thread R Krishna
Do you mind sharing your log4j2 xml and if you can run it with your version separately as a simple standalone client? On Wed, Apr 20, 2016 at 4:26 AM, Prem Panchami wrote: > Hi, > We have a Kafka producer app that participates in the larger system. It > worked fine sending

KafkaProducer NullPointerException

2016-04-20 Thread Prem Panchami
Hi, We have a Kafka producer app that participates in the larger system. It worked fine sending messages. We just added our new tracing utility (uses SLF4J, LOG4J2) which has a couple of loggers that use Kafka appenders. Now we get a null pointer exception when we try to create KafkaProducer.