2017-11-21 01:44:51 -05:00
|
|
|
# Git spring-cloud-stream-app-starters
|
2017-11-22 19:54:45 -05:00
|
|
|
# https://github.com/spring-cloud-stream-app-starters/hdfs/blob/master/spring-cloud-starter-stream-sink-hdfs/README.adoc
|
|
|
|
git clone https://github.com/spring-cloud-stream-app-starters/twitter.git
|
2017-11-21 01:44:51 -05:00
|
|
|
|
2017-11-22 19:54:45 -05:00
|
|
|
# Build it
|
|
|
|
./mvnw clean install -PgenerateApps
|
2017-11-21 01:44:51 -05:00
|
|
|
|
2017-11-22 19:54:45 -05:00
|
|
|
# RUn it
|
|
|
|
cd apps
|
|
|
|
# Optionally inject application.properties prior to build
|
|
|
|
java -jar twitter_stream_source.jar --consumerKey=<CONSUMER_KEY> --consumerSecret=<CONSUMER_SECRET> \
|
|
|
|
--accessToken=<ACCESS_TOKEN> --accessTokenSecret=<ACCESS_TOKEN_SECRET>
|