A collection of tools to help move data from DB to Streams and vice-versa.
-
Provide any MapR-DB JSON table path as input
-
Provide a MapR-ES path as output
-
You could optionally specify topic / partition / maximum messages to produce.
java -cp db-streams-tool.jar com.mapr.db.tools.CopyTableToStream
Usage: CopyTableToStream -table </path/to/table> -stream </path/to/stream> [Options]
Options: -h or -help -topic [default topic: default] -partition -maxmsgs
Example:
java -cp db-streams-tool.jar com.mapr.db.tools.CopyTableToStream -table /business_table -stream /sample_stream -topic topic1 -maxmsgs 1000