I am using kafka-console-producer.sh like this:
kafka-console-producer.sh --bootstrap-server $BTSTRP --topic test --producer.config client.properties
and it works great without warnings or errors. In client.properties I have some properties. Part of the example file:
security.protocol=SASL_SSL
sasl.mechanism=SCRAM-SHA-512
ssl.endpoint.identification.algorithm=
Then I would like to use below command to list SCRAM users using the same client.properties because it matches everything here:
kafka-configs.sh --bootstrap-server $BTSTRP --command-config client.properties --describe --entity-type users
but it prints below warnings (not a full output) and eventually does not work (prints nothing but these warnings):
[2020-09-24 10:30:27,823] WARN The configuration 'ssl.keystore.location' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)
[2020-09-24 10:30:27,823] WARN The configuration 'ssl.keystore.location' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)
[2020-09-24 10:30:27,823] WARN The configuration 'ssl.truststore.password' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)
[2020-09-24 10:30:27,823] WARN The configuration 'ssl.truststore.password' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)
[2020-09-24 10:30:27,823] WARN The configuration 'ssl.endpoint.identification.algorithm' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)
[2020-09-24 10:30:27,823] WARN The configuration 'ssl.endpoint.identification.algorithm' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig)
Question: How am I supposed to format Kafka's Admin client --command-config properties file? I've already read through here, but nothing seem to help: