This config uses Docker images created by wurstmeister.
- Retrieve the IPv4 address of the host machine and assign it to the environment variable
HOST_IP
.
$env:HOST_IP = (Get-NetIPConfiguration | Where-Object { $_.IPv4DefaultGateway -ne $null }).IPv4Address.IPAddress
- Run the containers.
docker compose -f ./docker-compose-A.yaml up -d
This config uses Docker images created by Confluent.
- Run the containers.
docker compose -f ./docker-compose-B.yaml up -d
Containers | Host:Port |
---|---|
Kafka UI | localhost:9000 |
Kafka Broker 1 | localhost:9001 |
Kafka Broker 2 | localhost:9002 |
Kafka Broker 3 | localhost:9003 |
Kafka Broker 4 | localhost:9004 |
Kafka Broker 5 | localhost:9005 |