I need to fetch a json document from a filesystem using write batcher and pass it to my transformation through dmsdk. How can I do this? How can I add file to batcher?
Asked
Active
Viewed 23 times
1 Answers
0
After configuring the WriteBatcher using the withTransform() fluent, you can pass in a FileInputStream on each file as follows:
writeBatcher.add("/path/filename.json", new InputStreamHandle(fileInputStream));
For more information, see:

ehennum
- 7,295
- 13
- 9