Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e6be4cf

Browse files
authoredApr 30, 2025··
Remove -e option from echo & add --exclude-internal in list (#1469)
1 parent 5998909 commit e6be4cf

File tree

17 files changed

+52
-52
lines changed

17 files changed

+52
-52
lines changed
 

‎examples/asyncapi.http.kafka.proxy/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic petstore-pets --config cleanup.policy=compact
6565
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic petstore-customers --config cleanup.policy=compact
6666
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic petstore-verified-customers --config cleanup.policy=compact
67-
echo -e "Successfully created the following topics:";
68-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
67+
echo "Successfully created the following topics:";
68+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6969
7070
kafka-ui:
7171
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/asyncapi.mqtt.kafka.proxy/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic mqtt-messages
6565
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic streetlights
6666
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic mqtt-retained --config cleanup.policy=compact
6767
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic mqtt-sessions --config cleanup.policy=compact
68-
echo -e "Successfully created the following topics:";
69-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
68+
echo "Successfully created the following topics:";
69+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
7070
7171
kafka-ui:
7272
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/asyncapi.sse.kafka.proxy/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic events --config cleanup.policy=compact
65-
echo -e "Successfully created the following topics:";
66-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
65+
echo "Successfully created the following topics:";
66+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6767
6868
kafka-ui:
6969
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/grpc.kafka.echo/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic echo-messages
65-
echo -e "Successfully created the following topics:";
66-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
65+
echo "Successfully created the following topics:";
66+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6767
6868
kafka-ui:
6969
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/grpc.kafka.fanout/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic messages
65-
echo -e "Successfully created the following topics:";
66-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
65+
echo "Successfully created the following topics:";
66+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6767
6868
kafka-ui:
6969
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/grpc.kafka.proxy/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ services:
7575
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
7676
command:
7777
- |
78-
echo -e "Creating kafka topic";
78+
echo "Creating kafka topic";
7979
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic echo-requests
8080
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic echo-responses
81-
echo -e "Successfully created the following topics:";
82-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
81+
echo "Successfully created the following topics:";
82+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
8383
8484
kafka-ui:
8585
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/http.kafka.async/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic items-requests
6565
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic items-responses
66-
echo -e "Successfully created the following topics:";
67-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
66+
echo "Successfully created the following topics:";
67+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6868
6969
kafka-ui:
7070
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/http.kafka.avro.json/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ services:
6161
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6262
command:
6363
- |
64-
echo -e "Creating kafka topic";
64+
echo "Creating kafka topic";
6565
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic items-snapshots --config cleanup.policy=compact
66-
echo -e "Successfully created the following topics:";
67-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
66+
echo "Successfully created the following topics:";
67+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6868
6969
kafka-ui:
7070
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/http.kafka.cache/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic items-snapshots --config cleanup.policy=compact
65-
echo -e "Successfully created the following topics:";
66-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
65+
echo "Successfully created the following topics:";
66+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6767
6868
kafka-ui:
6969
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/http.kafka.crud/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic items-snapshots --config cleanup.policy=compact
65-
echo -e "Successfully created the following topics:";
66-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
65+
echo "Successfully created the following topics:";
66+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6767
6868
kafka-ui:
6969
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/http.kafka.oneway/compose.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ services:
7575
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
7676
command:
7777
- |
78-
echo -e "Creating kafka topic";
78+
echo "Creating kafka topic";
7979
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 --create --if-not-exists --topic events
80-
echo -e "Successfully created the following topics:";
81-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 --list;
82-
echo -e "Creating user";
80+
echo "Successfully created the following topics:";
81+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server kafka:29092 --list --exclude-internal;
82+
echo "Creating user";
8383
/opt/bitnami/kafka/bin/kafka-configs.sh \
8484
--bootstrap-server kafka:29092 \
8585
--alter \

‎examples/http.kafka.proto.json/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic my-requests
65-
echo -e "Successfully created the following topics:";
66-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
65+
echo "Successfully created the following topics:";
66+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6767
6868
kafka-ui:
6969
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/http.kafka.proto.oneway/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic my-requests
65-
echo -e "Successfully created the following topics:";
66-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
65+
echo "Successfully created the following topics:";
66+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6767
6868
kafka-ui:
6969
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/http.kafka.sync/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic items-requests
6565
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic items-responses --config cleanup.policy=compact
66-
echo -e "Successfully created the following topics:";
67-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
66+
echo "Successfully created the following topics:";
67+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6868
6969
kafka-ui:
7070
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/mqtt.kafka.proxy/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ services:
6060
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6161
command:
6262
- |
63-
echo -e "Creating kafka topic";
63+
echo "Creating kafka topic";
6464
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic mqtt-messages
6565
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic mqtt-devices --config cleanup.policy=compact
6666
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic mqtt-retained --config cleanup.policy=compact
6767
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic mqtt-sessions --config cleanup.policy=compact
68-
echo -e "Successfully created the following topics:";
69-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
68+
echo "Successfully created the following topics:";
69+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
7070
7171
kafka-ui:
7272
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/openapi.asyncapi.kakfa.proxy/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ services:
6161
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6262
command:
6363
- |
64-
echo -e "Creating kafka topic";
64+
echo "Creating kafka topic";
6565
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic petstore-pets --config cleanup.policy=compact
66-
echo -e "Successfully created the following topics:";
67-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
66+
echo "Successfully created the following topics:";
67+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6868
6969
kafka-ui:
7070
image: ghcr.io/kafbat/kafka-ui:v1.0.0

‎examples/sse.kafka.fanout/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ services:
6161
KAFKA_BOOTSTRAP_SERVER: kafka.examples.dev:29092
6262
command:
6363
- |
64-
echo -e "Creating kafka topic";
64+
echo "Creating kafka topic";
6565
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --create --if-not-exists --topic events --config cleanup.policy=compact
66-
echo -e "Successfully created the following topics:";
67-
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list;
66+
echo "Successfully created the following topics:";
67+
/opt/bitnami/kafka/bin/kafka-topics.sh --bootstrap-server $${KAFKA_BOOTSTRAP_SERVER} --list --exclude-internal;
6868
6969
kafka-ui:
7070
image: ghcr.io/kafbat/kafka-ui:v1.0.0

0 commit comments

Comments
 (0)
Please sign in to comment.