I have a big file and I use splitter
to process it. I use .split().tokenize("\n", 5).streaming();
to group lines.
How can I send every group to different endpoint?
I have a big file and I use splitter
to process it. I use .split().tokenize("\n", 5).streaming();
to group lines.
How can I send every group to different endpoint?
This should do the trick for you.
.split().tokenize("\n", 250000).streaming()
.to(file://directory)
.end()
You can also use another endpoint instead of .to(file://).