kafkatopic connectionprops

Lists the connection properties of Kafka clients.

Syntax

IMPORTANT
Ensure that the mapr-kafka package is installed on the server node, before running the kafkatopic connectionprops command. When mapr-kafka package is not installed, the following error is encountered: Command execution failed! 'kafkatopic' commands requires 'mapr-kafka' package.
CLI

The command returns relevant connection properties for Kafka clients.

$ maprcli kafkatopic connectionprops -json
REST
http[s]://<host>:<port>/rest/kafkatopic/connectionprops

Examples

List connection properties of Kafka clients.

$ maprcli kafkatopic connectionprops -json
{ "timestamp": 1678731806417, 
  "timeofday": "2023-03-13 11:23:26.417 GMT-0700 AM",
  "status": "OK",
  "total":1,
  "data":[
     { 
       "bootstrap.servers": "host1:9092,host2:9092",
       "security.protocol": "SASL_PLAINTEXT",
       "sasl.mechanism": "PLAIN" 
    }
 ]
}