kafka-topics --list --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094
kafka-topics --create --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --replication-factor 1 --partitions 1 --topic mytopic-1-1
kafka-topics --create --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --replication-factor 2 --partitions 2 --topic mytopic-2-2
kafka-topics --create --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --replication-factor 3 --partitions 3 --topic mytopic-3-3
kafka-topics --create --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --replication-factor 3 --partitions 2 --topic mytopic-3-2
kafka-topics --create --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --replication-factor 2 --partitions 3 --topic mytopic-2-3
kafka-topics --list --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094
kafka-topics --describe --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --topic mytopic-1-1
kafka-topics --describe --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --topic mytopic-2-2
kafka-topics --describe --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --topic mytopic-3-3
kafka-topics --describe --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --topic mytopic-3-2
kafka-topics --describe --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --topic mytopic-2-3
kafka-topics --create --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --replication-factor 3 --partitions 9 --topic mytopic-3-9
kafka-topics --describe --bootstrap-server kafka-1:9092,kafka-2:9093,kafka-3:9094 --topic mytopic-3-9
'Data Engineering > Kafka' 카테고리의 다른 글
[kafka] 주키퍼와 카프카의 모든 볼륨 마운트하기 (0) | 2022.06.17 |
---|---|
[kafka] 카프카의 메세지는 파티션이 1이면 순서가 보장된다. (0) | 2022.06.12 |
[kafka] Error while executing topic command : Replication factor: 4 larger than available brokers: 3. (0) | 2022.06.12 |
[kafka] kafka cluster 구성 후 토픽 생성시의 현상 확인해보기 (2) | 2022.06.12 |
[Kafka] 카프카 클러스터 만들기 (confluentinc/cp-kafka:7.1.0) (0) | 2022.06.08 |