Re: Issue in Creating the Kafka Consumer

2018-09-21 Thread Attila Sasvári
Hi Sravanthi, Do I understand correctly that you pass the path to your JAAS configuration file to the JVM via a system property (e.g -Djava.security.auth.login.config=/path_to_your_directory/jaas.conf )? >From the error message: > Caused by: _java.lang.IllegalArgumentException_: No serviceName >

Re: Issue in Creating the Kafka Consumer

2018-09-20 Thread Harsha
It looks like you are trying to connect to SASL Kafka broker? If that's the case make sure you follow the dochttp://kafka.apache.org/documentation.html#security_jaas_client to pass in JAAS config with the KafkaClient section to your consumer. -Harsha On Thu, Sep 20, 2018, at 8:31 AM, Sravanthi Go