Skip to content

Latest commit

 

History

History
executable file
·
24 lines (13 loc) · 567 Bytes

commands.md

File metadata and controls

executable file
·
24 lines (13 loc) · 567 Bytes

Setup node modules

cd node && npm install

Put order status in Kafka

#Login to CloudxLab web console

cd kafka && /bin/bash put_order_data_in_topic.sh ../data/order_data/ ip-172-31-13-154.ec2.internal:6667 order-data

Run Spark Streaming code

#Login to CloudxLab web console in the second tab

cd spark && spark-submit --jars spark-streaming-kafka-assembly_2.10-1.6.0.jar spark_streaming_order_status.py localhost:2181 order-data

Run Node.js server

#Login to CloudxLab web console in the third tab

cd node && node index