Github user rnowling commented on a diff in the pull request:
https://github.com/apache/bigtop/pull/13#discussion_r26237298
--- Diff: bigtop-bigpetstore/bigpetstore-transaction-queue/README.md ---
@@ -0,0 +1,164 @@
+# Introduction to the BigPetStore transaction queue#
+
+This is a rotating queue for Apache BigTop which uses the BigPetStore
libraries to generate realistic streaming transactional data.
+
+There are many ways that data streams are consumed,
+
+- one is Files (files written every n seconds)
+- another is via the web (peridoic HTTP PUTs)
+
+Both of these are supported by this library. It runs infinitely as a
single java process, repeatedly re running itself every time a simulation is
done.
+
+It is a part of the BigPetStore ecosystem of projects which Apache BigTop
leverages for real world validation of the stack.
+
+As a proof of concept, it has been used to test google's kubernetes
framework by generating large load against Redis (a in memory caching data
layer).
+
+# I'm in a huge rush, how do I use it? #
+
+Just run the dockerfile (eventually these dockerfiles will be stored in
bigtop/ on dockerhub).
+```
+docker run -t -i jayunit100/bigpetstore-load-generator
+```
+
+After you run it, you can read below to customize it.
+
+# BigPetStore Data Generator #
+
+See related project on github, jayunit100/PetStoreBook, for example usage.
+
+An infiniterator for bigpetstore !
+
+If you're not familiar with bigpetstore, check out the apache bigtop
project, which uses it to process data with spark, and the original whitepaper
on the data generator
(http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=7034765). This
repository writes bigpetstore transactions to
+
+- a rotating *file queue* OR
+- a *REST API* calling queue.
+- You better have a consumer somewhere, otherwise it will fill up your
disk very quickly !
+- Its a little raw: I can clean it up later if people start getting
interested.
+
+# Get Started by building the jar #
+Clone this repository. Then just run
+
+```
+gradle fatJar
+```
+
+## Arguments ##
+
+The command line arguments are:
+
+- path (URL, for REST loads or directory on local disk, for file loads)
+- stores (total number)
+- customers (total number)
+- simulation length (in days)
+- seed (random seed for generator)
+
+## Generating FileSystem load ##
+
+From docker
+
+```
+docker run -t -i jayunit100/bigpetstore-load-generator
/opt/bigpetstore-transaction-queue /tmp/ 1 1 3.0
+```
+or Java
+```
+ gradle clean fatJar
+ java -jar ./build/libs/bigpetstore-transaction-queue-1.0.jar /tmp 1 5
10000 123
+```
+
+## Generating REST load ##
+OR Replace the file path with a REST API root (it will jsonify the
transactions, and send them as the final url portion).
+
+From docker
+
+```
+docker run -t -i jayunit100/bigpetstore-load-generator
/opt/bigpetstore-transaction-queue http://localhost:3000/restapi/rpush/ 1 5
10000 123
+```
+Or from java
+```
+gradle clean fatJar
+java -cp ./build/libs/bigpetstore-transaction-queue-1.0.jar
org.apache.bigtop.qstream.LoadGen http://localhost:3000/rpush/guestbook/ 4 4
1000 123
--- End diff --
Jar name should be bigpetstore-transaction-queue-all-1.0.jar. Can shorter
java -jar ... format be used here now?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---