stankiewicz opened a new pull request, #41015:
URL: https://github.com/apache/beam/pull/41015
All writer DoFn instances on a worker share the same transform UUID and
pooled Solace sessions. When a single bundle aborts during rebalancing or an
idle bundle processor is evicted, tearing down that DoFn instance closed all
shared sessions on the worker mid-bundle and caused in-flight ACKs on other
threads to time out.
Keep pooled write sessions open for the worker lifetime with a JVM shutdown
hook, and synchronize session and producer recreation when a session is closed.
<!--
Thank you for your contribution! Follow this checklist to help us
incorporate your contribution quickly and easily:
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
- [ ] Replace these instructions with a description of your change and why
you have made it.
- [ ] Mention the appropriate issue in your description (for example:
`addresses #123` or `fixes #456`).
- [ ] Update `CHANGES.md` with noteworthy changes.
See [CONTRIBUTING.md]() for more details.
-->
--
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]