This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman run -d --name pulsar-broker docker.io/apachepulsar/pulsar:4.0.4 bin/pulsar standalone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman run -d --name kafka-broker --hostname kafka-broker --network podman-default-kube-network \ | |
-p 9092:9092 \ | |
-e LOG_DIR=/tmp/logs \ | |
docker.io/apache/kafka:3.7.1 \ | |
/bin/sh -c 'cd /opt/kafka; export CLUSTER_ID=$(bin/kafka-storage.sh random-uuid) && bin/kafka-storage.sh format -t $CLUSTER_ID -c config/kraft/server.properties && /bin/sed -ie "s^PLAINTEXT://:9092,^PLAINTEXT://:9092,^" config/kraft/server.properties && /bin/sed -ie "s^advertised.listeners=PLAINTEXT://localhost:9092^advertised.listeners=PLAINTEXT://kafka-broker:9092^" config/kraft/server.properties && bin/kafka-server-start.sh config/kraft/server.properties' |