waterWang opened a new pull request, #39686: URL: https://github.com/apache/beam/pull/39686
## Description Fixes #39588 **Problem**: When multiple producers are configured in SolaceIO write, `publishResults()`` only polls the `PublishedResultsQueue` of the current bundle's producer. Messages published by other producers in the same or previous bundles are never emitted to the downstream transform. **Root cause**: `publishResults()` called `solaceSessionServiceWithProducer()` which returns the session for `currentBundleProducerIndex` only. Queues of other producers (0 to `producersMapCardinality-1`) were never polled. **Fix**: Iterate over all producer indices and drain each queue, so publish results from all producers are emitted. This matches the workaround described in the issue. Wallet: fj4WqyCCw3C5ShR1RfB7MoBPTpkRrBFYP1uT35g3MvT -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
