Hello,
I'm trying to have node that do bulk loading (like loading in database or ElasticSearch to SpeedUp loading.
Globally this works well using the FixedWindow recipe, however, I have problem launching the process for the last buffer.
Since, ContextProcessor.send method, sends it to the next node, and when I try to yield multiple times an updated buffer it raises this exception:
raise RuntimeError('Context processors should not yield more than once.')
Well, what is the correct recipe to have a node buffer, and don't skip the last buffer run ?
Hello, I'm trying to have node that do bulk loading (like loading in database or ElasticSearch to SpeedUp loading. Globally this works well using the FixedWindow recipe, however, I have problem launching the process for the last buffer. Since,
ContextProcessor.send
method, sends it to the next node, and when I try to yield multiple times an updated buffer it raises this exception:raise RuntimeError('Context processors should not yield more than once.')
Well, what is the correct recipe to have a node buffer, and don't skip the last buffer run ?