diff --git a/docs/modules/kafka/examples/getting_started/getting_started.sh b/docs/modules/kafka/examples/getting_started/getting_started.sh index 09cc40a0..666dc86c 100755 --- a/docs/modules/kafka/examples/getting_started/getting_started.sh +++ b/docs/modules/kafka/examples/getting_started/getting_started.sh @@ -1,6 +1,20 @@ #!/usr/bin/env bash set -euo pipefail +# DO NOT EDIT THE SCRIPT +# Instead, update the j2 template, and regenerate it for dev: +# cat <&1 >/dev/null & # end::port-forwarding[] PORT_FORWARD_PID=$! +# shellcheck disable=2064 # we want the PID evaluated now, not at the time the trap is trap "kill $PORT_FORWARD_PID" EXIT sleep 15 @@ -98,12 +114,12 @@ echo "some test data" > data echo "Writing test data" # tag::kcat-write-data[] -kcat -b localhost:9092 -t test-data-topic -P data +kafkacat -b localhost:9092 -t test-data-topic -P data # end::kcat-write-data[] echo "Reading test data" # tag::kcat-read-data[] -kcat -b localhost:9092 -t test-data-topic -C -e > read-data.out +kafkacat -b localhost:9092 -t test-data-topic -C -e > read-data.out # end::kcat-read-data[] echo "Check contents" diff --git a/docs/modules/kafka/examples/getting_started/getting_started.sh.j2 b/docs/modules/kafka/examples/getting_started/getting_started.sh.j2 index 67e05c7a..9b5dd708 100755 --- a/docs/modules/kafka/examples/getting_started/getting_started.sh.j2 +++ b/docs/modules/kafka/examples/getting_started/getting_started.sh.j2 @@ -1,6 +1,20 @@ #!/usr/bin/env bash set -euo pipefail +# DO NOT EDIT THE SCRIPT +# Instead, update the j2 template, and regenerate it for dev: +# cat <&1 >/dev/null & # end::port-forwarding[] PORT_FORWARD_PID=$! +# shellcheck disable=2064 # we want the PID evaluated now, not at the time the trap is trap "kill $PORT_FORWARD_PID" EXIT sleep 15 diff --git a/docs/modules/kafka/examples/getting_started/install-operator-output.txt b/docs/modules/kafka/examples/getting_started/install-operator-output.txt index 401e6468..020e2d4a 100644 --- a/docs/modules/kafka/examples/getting_started/install-operator-output.txt +++ b/docs/modules/kafka/examples/getting_started/install-operator-output.txt @@ -1,7 +1,7 @@ # tag::stackablectl-install-operators-output[] -[INFO ] Installing commons operator in version 0.0.0-dev -[INFO ] Installing secret operator in version 0.0.0-dev -[INFO ] Installing listener operator in version 0.0.0-dev -[INFO ] Installing zookeeper operator in version 0.0.0-dev -[INFO ] Installing kafka operator in version 0.0.0-dev +Installing commons=0.0.0-dev operator +Installing secret=0.0.0-dev operator +Installing listener=0.0.0-dev operator +Installing zookeeper=0.0.0-dev operator +Installing kafka=0.0.0-dev operator # end::stackablectl-install-operators-output[] diff --git a/docs/modules/kafka/examples/getting_started/install-operator-output.txt.j2 b/docs/modules/kafka/examples/getting_started/install-operator-output.txt.j2 index 131a9aa7..6d563e37 100644 --- a/docs/modules/kafka/examples/getting_started/install-operator-output.txt.j2 +++ b/docs/modules/kafka/examples/getting_started/install-operator-output.txt.j2 @@ -1,7 +1,7 @@ # tag::stackablectl-install-operators-output[] -[INFO ] Installing commons operator in version {{ versions.commons }} -[INFO ] Installing secret operator in version {{ versions.secret }} -[INFO ] Installing listener operator in version {{ versions.listener }} -[INFO ] Installing zookeeper operator in version {{ versions.zookeeper }} -[INFO ] Installing kafka operator in version {{ versions.kafka }} +Installing commons={{ versions.commons }} operator +Installing secret={{ versions.secret }} operator +Installing listener={{ versions.listener }} operator +Installing zookeeper={{ versions.zookeeper }} operator +Installing kafka={{ versions.kafka }} operator # end::stackablectl-install-operators-output[]