kafka对比config/connect-distributed.properties和config/connect-standalone.properties区别
2023-4-25 09:9:28 Author: dyrnq.com(查看原文) 阅读量:7 收藏

对比下config/connect-distributed.properties和config/connect-standalone.properties

cat config/connect-distributed.properties  |grep -v "^#" |grep -v "^$" && \
echo "#############################" && \
cat config/connect-standalone.properties  |grep -v "^#" |grep -v "^$"
bootstrap.servers=localhost:9092
group.id=connect-cluster
key.converter=org.apache.kafka.connect.json.JsonConverter
value.converter=org.apache.kafka.connect.json.JsonConverter
key.converter.schemas.enable=true
value.converter.schemas.enable=true
offset.storage.topic=connect-offsets
offset.storage.replication.factor=1
config.storage.topic=connect-configs
config.storage.replication.factor=1
status.storage.topic=connect-status
status.storage.replication.factor=1
offset.flush.interval.ms=10000
#############################
bootstrap.servers=localhost:9092
key.converter=org.apache.kafka.connect.json.JsonConverter
value.converter=org.apache.kafka.connect.json.JsonConverter
key.converter.schemas.enable=true
value.converter.schemas.enable=true
offset.storage.file.filename=/tmp/connect.offsets
offset.flush.interval.ms=10000

ref

使用 Kafka Connect 将数据从 Apache Kafka 引入 Azure Cosmos DB for Apache Cassandra


文章来源: https://dyrnq.com/kafka%e5%af%b9%e6%af%94config-connect-distributed-properties%e5%92%8cconfig-connect-standalone-properties%e5%8c%ba%e5%88%ab/
如有侵权请联系:admin#unsafe.sh