modify the KAFKA_ADVERTISED_HOST_NAME in docker-compose.yml to match your docker host IP (Note: Do not use localhost or 127.0.0.1 as the host ip if you want to run multiple brokers.)
Where do I find my Docker host IP? Is it the same as my private IP?
Prerequisites say that I should
Where do I find my Docker host IP? Is it the same as my private IP?