Updated on 2024-02-27 GMT+08:00

Kafka Collector (app-discovery-kafka)

This collector connects to a Kafka node to obtain the IP address, version, and consumer information of the Kafka node. For details about the configuration parameters, see Table 1.

Table 1 Parameters for configuring the Kafka collector

Parameter

Mandatory

Configuration

output_path

No

Enter the storage path of the collection result file (app-discovery-kafka-xxx.csv). If this parameter is left blank, the storage path defaults to <Collector installation path>\output\file.

Example: C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-kafka\output\file\app-discovery-kafka-xxx.csv

cert_file

No

If auth is set to 3, set this parameter to the absolute path of the SSL cert_file file.

ca_file

No

If auth is set to 3, set this parameter to the absolute path of the SSL ca_file file.

password

No

Enter the login password.

username

No

If auth is set to 2 or 3, set this parameter to the username for logging in to Kafka.

auth

Yes

Specify the Kafka authentication method.

  • 0: indicates no authentication is required.
  • 1: indicates the PLAINTEXT authentication.
  • 2: indicates the SASL_PLAINTEXT authentication.
  • 3: indicates SASL_SSL authentication.

endpoint

Yes

Enter the Kafka connection address, for example, 127.0.0.1:9092.