Use of producer.properties and consumer.properties file in Apache Kafka

前端 未结 1 799
悲&欢浪女
悲&欢浪女 2021-01-18 22:15

Inside the Kafka package there is an config folder which has various config files. This folder has consumer.properties and producer.properties files, are these configurati

相关标签:
1条回答
  • 2021-01-18 22:48

    The consumer.properties and producer.properties files are just examples for configuring a consumer or producer application. They can be used by the kafka-console-consumer console application for example with the --consumer.config paramenter by the kafka-console-producer console application with the --producer.config parameter. In any case even server.properties and zookeeper.properties files are example of configuration for broker and zookeeper.

    0 讨论(0)
提交回复
热议问题