Friday, June 16, 2023

kafka-storage komutu

-t seçeneği
Açıklaması şöyle
the -t option can be used to specify the cluster ID, the -c option can be used to specify the configuration file, and the -f option can be used to force the initialization process even if the log directories already exist.
Örnek
Şöyle yaparız
$ bin/kafka-storage.sh \
  format \
  -t $KAFKA_CLUSTER_ID \
  -c config/kraft/server.properties

random-uuid seçeneği
Örnek
Şöyle yaparız
$ KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)"

No comments:

Post a Comment

Consumer Failover Across Data Centers

Active-Passive Consumption Across Data Centers Açıklaması şöyle In Kafka, a common consumption pattern for multi-data center setups in...