github.com/google/cadvisor@v0.49.1/docs/storage/kafka.md (about)

     1  # Exporting cAdvisor Stats to Kafka
     2  
     3  cAdvisor supports exporting stats to [Kafka](http://kafka.apache.org/). To use Kafka, you need to provide the additional flags to cAdvisor:
     4  
     5  Set the storage driver as Kafka:
     6  
     7  ```
     8   -storage_driver=kafka
     9  ```
    10  
    11  If no broker are provided it will default to a broker listening at localhost:9092, with 'stats' as the default topic.
    12  
    13  
    14  Specify a Kafka broker address:
    15  
    16  ```
    17  -storage_driver_kafka_broker_list=localhost:9092
    18  
    19  ```
    20  
    21  Specify a Kafka topic:
    22  
    23  ```
    24  -storage_driver_kafka_topic=myTopic
    25  ```
    26  
    27  As of version 9.0. Kafka supports TLS client auth:
    28  
    29  ```
    30   # To enable TLS client auth support you need to provide the following:
    31  
    32   # Location to Certificate Authority certificate
    33    -storage_driver_kafka_ssl_ca=/path/to/ca.pem
    34  
    35   # Location to client certificate certificate
    36    -storage_driver_kafka_ssl_cert=/path/to/client_cert.pem
    37  
    38   # Location to client certificate key
    39    -storage_driver_kafka_ssl_key=/path/to/client_key.pem
    40  
    41   # Verify SSL certificate chain (default: true)
    42    -storage_driver_kafka_ssl_verify=false
    43  ```