File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 11# Hello World
22
33```
4- docker-setup % docker exec -it kafka bash
5- I have no name!@612c59413dd9:/$ kafka-topics.sh --bootstrap-server localhost:9092 --create --topic t-hello --partitions 1
6- Created topic t-hello.
7- I have no name!@612c59413dd9:/$ kafka-topics.sh --bootstrap-server localhost:9092 --list
8- t-hello
9- I have no name!@612c59413dd9:/$ kafka-topics.sh --bootstrap-server localhost:9092 --describe
10- Topic: t-hello TopicId: 5egcFED_R7uocC7_ypQNGQ PartitionCount: 1 ReplicationFactor: 1 Configs: segment.bytes=1073741824
11- Topic: t-hello Partition: 0 Leader: 1 Replicas: 1 Isr: 1
12- I have no name!@612c59413dd9:/$
4+ docker ps
5+ CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6+ adba4cef923e bitnami/kafka:latest "/opt/bitnami/script…" 12 minutes ago Up 12 minutes 0.0.0.0:9092->9092/tcp spring-kafka-scripts-kafka-1-1
7+ prateekashtikar@Prateeks-MBP docker-setup % docker exec -it adba4cef923e bash
8+ I have no name!@adba4cef923e:/$
139
1410```
11+
12+ ```
13+ kafka-topics.sh --bootstrap-server localhost:9092 --create --topic t-fixedrate --partitions 1
14+ ```
You can’t perform that action at this time.
0 commit comments