!! Need to change KAFKA_CFG_ADVERTISED_LISTENERS in docker-compose.yml depending on your ip address !! KAFKA_CFG_ADVERTISED_LISTENERS represent the host external address (host ip) so that client can connect to it, otherwire they'll try to connect to the internal host address that is not reachable.
curl -H "Content-Type:multipart/form-data" -X POST -F "[email protected]" http://localhost:8080/upload
Use Docker-compose (create a docker-compose.yml file) $ docker-compose up -d
$ docker-compose down