marcinthecloud / powertrainstreaming Goto Github PK
View Code? Open in Web Editor NEWThis project forked from retroryan/powertrainstreaming
Spark Streaming Application for the PowerTrain Web Application
This project forked from retroryan/powertrainstreaming
Spark Streaming Application for the PowerTrain Web Application
Spark Streaming The spark streaming app ingests data off of kafka, processes it in micro batches, and writes to cassandra Build the streaming app sbt package and run from dse spark-submit (DSE must be running with Analytics enabled) LOCAL RUN dse spark-submit --packages org.apache.spark:spark-streaming-kafka_2.10:1.6.1 --conf=spark.cores.max=1 --class powertrain.StreamVehicleData --properties-file=conf/application.conf target/scala-2.10/streaming-vehicle-app_2.10-1.0-SNAPSHOT.jar SERVER RUN dse spark-submit --packages org.apache.spark:spark-streaming-kafka_2.10:1.6.1 --class powertrain.StreamVehicleData --properties-file=application.conf streaming-vehicle-app_2.10-1.0-SNAPSHOT.jar SERVER RUN with nohup nohup dse spark-submit --packages org.apache.spark:spark-streaming-kafka_2.10:1.6.1 --conf=spark.executor.memory=8g --class powertrain.StreamVehicleData --properties-file=application.conf streaming-vehicle-app_2.10-1.0-SNAPSHOT.jar 2>&1 1> streaming.log & -- Watch the kafka queue: bin/kafka-console-consumer.sh --zookeeper $KAFKA:2181 --topic vehicle_events --from-beginning dse spark-submit --packages org.apache.spark:spark-streaming-kafka_2.10:1.4.1 --class streaming.StreamVehicleData target/scala-2.10/streaming-vehicle-app_2.10-1.0-SNAPSHOT.jar
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.