val statefulStream = keyedMainBranchStreamwe don't have any buffering under the hood.
.connect(keyedJoinedStream)
.keyBy(v => v.value, v => v.value.key)
.process(aggregatorFunction)
input1.add(OneRecord(key, 0, -1))
// We can't be sure that main records will be consumed after matching joined records so we need to wait for them.
eventually {
OuterJoinTransformerSpec.elementsAddedToState should have size input2.size
}
input1.add(OneRecord(key, 2, -1))
input1.finish()
Plenty of events are produced in output of my outer-join mode
--
You received this message because you are subscribed to the Google Groups "Nussknacker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nussknacker...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/nussknacker/cd708fb3-be62-4d8c-b898-a71c9c8ef79bn%40googlegroups.com.
Hi ArekFirst of all, again, thank you for your help :)Today I checked the number of events. To end with this point, you're right. The produced events are exacltly the number of events incoming from MAIN stream. I didn't realized that outer-joins behaved like AggregateSliding (which is clearly written on the doc). Appologies :)About the outer-join behavior, I also made some tests. I added the delay node to my process on the main stream, in order to process events from main stream after the ones from joined stream. And I've got the same behavior (produced events are always empty, even though events that should match the criteria were processed between the windowLength submitted (5 minutes). Maybe is it a point about this window length ? I don't see it mentionned in the code fragment you showed me in your response (writing this mail makes me want to make other tests, with way longer winbdowLength).
By the way, I've found a gui bug when building my processes. Do you want me to create directly an issue on the github or do you rather want me to describe it on another thread of the google group ?
To view this discussion on the web, visit https://groups.google.com/d/msgid/nussknacker/742676fd-d171-4e4d-82b6-39d563a3091en%40googlegroups.com.