File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
docs/modules/kafka/examples/getting_started Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ sleep 15
9393echo " Creating test topic test-data-topic"
9494# tag::create-topic[]
9595kubectl exec -n default simple-kafka-broker-default-0 -c kafka -t -- /stackable/kafka/bin/kafka-topics.sh \
96- --list \
96+ --create \
97+ --topic test-data-topic \
98+ --partitions 1 \
9799--bootstrap-server localhost:9092
98100# end::create-topic[]
99101
Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ sleep 15
9393echo " Creating test topic test-data-topic"
9494# tag::create-topic[]
9595kubectl exec -n default simple-kafka-broker-default-0 -c kafka -t -- /stackable/kafka/bin/kafka-topics.sh \
96- --list \
96+ --create \
97+ --topic test-data-topic \
98+ --partitions 1 \
9799--bootstrap-server localhost:9092
98100# end::create-topic[]
99101
You can’t perform that action at this time.
0 commit comments