페이지

2024년 7월 13일 토요일

Why should I care about topic config?

1. Brokers have defaults for all the topic configuration parameters

2. These parameters impact performance and topic behavior


3. Some topics may need different values than the defaults

    - Replication Factor

    - #of Partitions

    - Message size

    - Compression level

    - Log Cleanup Policy

    - Min Insync Replicas

    - Other configurations


4. A list of configuration can be found at:

https://kafka.apache.org/documentation/#brokerconfigs


.\kafka-topics.bat --bootstrap-server 127.0.0.1:2181 --list


PS C:\kafka_2.12-3.7.0> .\bin\windows\kafka-topics.bat --bootstrap-server 127.0.0.1:2181 --create --topic configured-topic --partitions 3 --replication-factor 1


댓글 없음: