Skip to content

Commit f6dd335

Browse files
authored
Update readme.md
1 parent be5809d commit f6dd335

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

00-hello-word/readme.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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+
```

0 commit comments

Comments
 (0)