Expands upon the AngularJS Socket.IO Seed demo by adding Docker support, a Fleet unit file, and Kafka integration.
Follow the Apache Kafka Quickstart instructions to start ZooKeeper and Kafka on localhost.
npm install
node app.js
And navigate to localhost:3000
docker build -t angular-websocket-kafka .
docker run -p 3000:3000 -d angular-websocket-kafka
The app should now be running on localhost:3000
, or if you are using boot2docker on port 3000 of your boot2docker IP address (run boot2docker ip
to find it).
fleetctl start angular-websocket-kafka.service