Learn how to use kafka within a nodejs application
docker run --name zookeeper -p 2181:2181 -d zookeeper
docker run -p 9092:9092 --name kafka -e KAFKA_ZOOKEEPER_CONNECT=ipaddress:2181 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://ipaddress:9092 -e KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 -d confluentinc/cp-kafka