I tested the kafka-console-producer that adding --producer-property key=value
```
bin/kafka-console-producer.sh  --broker-list test.com:9093 --topic test  
--producer-property sasl.mechanism=TEST --producer-property 
security.protocol=TEST --producer-property sasl.kerberos.service.name=TEST
```
overrides the entries in the client properties as expected:
```
        sasl.kerberos.service.name = TEST
        ...
        sasl.mechanism = TEST
        security.protocol = TEST
```
I also verified that it works with kafka-console-consumer:
```
bin/kafka-console-consumer.sh  --bootstrap-server test:9093 --topic test  
--consumer-property sasl.mechanism=TEST --consumer-property 
security.protocol=TEST --consumer-property sasl.kerberos.service.name=TEST 
--consumer.config /tmp/client.properties
```

[ Full content available at: https://github.com/apache/kafka/pull/5660 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to