No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 3 commits behind radanalyticsio:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
src
.gitignore
.travis.yml
README.md
pom.xml

README.md

Build Status

equoid-data-publisher

Build

mvn package

Run

locally

AMQP_HOST=<AMQP Broker Address> \
AMQP_PORT=<AMQP Port> \
AMQP_USERNAME=<AMQP Username> \
AMQP_PASSWORD=<AMQP Password> \
QUEUE_NAME=<AMQP Queue> \
DATA_URL=<Data file URL> \
java -jar ./target/equoid-data-publisher-*.jar

or in POD:

oc new-app -l app=publisher redhat-openjdk18-openshift:1.2~https://github.com/radanalyticsio/equoid-data-publisher

in case you want to tweak some default parameters or debug the app, here is a tweaked example:

oc new-app redhat-openjdk18-openshift:1.2~https://github.com/radanalyticsio/equoid-data-publisher \
  -l app=publisher \
  -e AMQP_HOST=broker-amq-amqp \
  -e AMQP_PORT=5672 \
  -e AMQP_USERNAME=daikon \
  -e AMQP_PASSWORD=daikon \
  -e QUEUE_NAME=salesq \
  -e DATA_URL=https://raw.githubusercontent.com/radanalyticsio/equoid-data-publisher/master/data/LiquorNames.txt \
  -e JAVA_DEBUG=true \
  -e JAVA_DEBUG_PORT=9009