Re: kafka-console-producer.sh --security-protocol

2017-10-03 Thread Pekka Sarnila
expected [option key] at sun.security.provider.ConfigFile$Spi.(ConfigFile.java:137) Pekka On 10/03/17 17:21, Ted Yu wrote: I think in producer.properties you should use: security.protocol=SASL_PLAINTEXT FYI On Tue, Oct 3, 2017 at 7:17 AM, Pekka Sarnila wrote: Hi, kafka_2.11-0.11.0.0 If I try to give --

Re: kafka-console-producer.sh --security-protocol

2017-10-03 Thread Pekka Sarnila
$Spi.(ConfigFile.java:137) Pekka On 10/03/17 17:21, Ted Yu wrote: I think in producer.properties you should use: security.protocol=SASL_PLAINTEXT FYI On Tue, Oct 3, 2017 at 7:17 AM, Pekka Sarnila wrote: Hi, kafka_2.11-0.11.0.0 If I try to give --security-protocol xyz (xyz any value e.g

kafka-console-producer.sh --security-protocol

2017-10-03 Thread Pekka Sarnila
Hi, kafka_2.11-0.11.0.0 If I try to give --security-protocol xyz (xyz any value e.g. SASL_PLAINTEXT, PLAINTEXTSASL, SASL_SSL) I get error security-protocol is not a recognized option Also having security.protocol=xyz in producer.properties gives error org.apache.kafka.common.KafkaExceptio