This is a simple Kafka producer application that publishes messages to the configured Kafka brokers and to particular partition, based on a partitioning logic.
To build the docker image:
docker build -t <username>/<image-name>:[tag] -f <Dockerfile> .
To push the built image to dockerHub:
docker image push <username>/<image-name>:[tag]