Kafka on Docker for Windows - cannot consume data
Windows nor Docker are the issue. It's a lack of full Kafka configuration.
You need to configure the KAFKA_CFG_ADVERTISED_LISTENERS
appropriately and expose the correct ports in your Docker command.
https://github.com/bitnami/bitnami-docker-kafka#accessing-kafka-with-internal-and-external-clients