tree: cd4481bd2273a26e6b96f52cdd9f3e33e8dac633 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
streams-contrib/streams-persist-console/README.md

streams-persist-console

Read and write documents from console

This can also be used to read and write files.

For example, to read a stream from a file of json documents:

cat inputfile.txt | java -jar stream.jar

For example, to write a stream to a file of json documents:

java -jar stream.jar > outputfile.txt

NOTE: Be sure to disable the console logger in the latter case.