You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: SolaceIO write transform loses output elements in batch pipelines #39589
SolaceIO write transform has two "writer" types - batched (sends 50 messages per batch) and streaming (sends one message at a time). With both of those writers, there is the issue when using the writer in a batch-mode Beam pipeline.
The issue is that the batch pipeline will frequently end its run before Solace publish results are output by the SolaceIO write transform.
In case of UnboundedBatchedSolaceWriter, the issue is that it relies on a timer to "finalize" outputing the publish results. In a batch pipeline, timers are not really triggering as expected, at least the pipeline will not wait the 10 seconds which is configured in the code for the timer to fire. Instead, the pipeline will just end - output is lost.
In case of UnboundedStreamingSolaceWriter, there is no timer but it calls publishResults from the @FinishBundle method which assumes that by that time there are Solace publish results to output. When there aren't, the batch pipeline again will just end, as there is nothing holding back the watermark and it does not care that there are some Solace ACK callbacks left waiting. Output is lost.
Activity
chamikaramj commentedon Aug 14, 2026
@ppawel I see that you have open PRs for this. Assigning to you and will review the PRs.
chamikaramj commentedon Aug 14, 2026
Actually the PRs seems to be someone else so appreciate if you can confirm if they fixes your issue.
stankiewicz commentedon Sep 28, 2026
fixed with #39612