chovy-3012 opened a new pull request, #12698:
URL: https://github.com/apache/seatunnel/pull/12698
### Purpose of this pull request
Fix resource leak in ActiveMQ sink (Session/MessageProducer created per
`write()` call, never closed) and add 9 config options for ConnectionFactory
and Producer.
Closes #12694
### Does this PR introduce _any_ user-facing change?
Yes. Added 9 new optional config options with safe defaults. No existing
options changed or removed. Documentation updated for en/zh.
### How was this patch tested?
9 unit tests added in `ActivemqClientTest`, all 15 tests pass. Spotless
verified.
```bash
./mvnw -pl seatunnel-connectors-v2/connector-activemq test
-Dtest="ActivemqClientTest,ActivemqFactoryTest"
```
### Check list
* [ ] If any new Jar binary package adding in your PR, please add License
Notice according
[New License
Guide](https://github.com/apache/seatunnel/blob/dev/docs/en/developer/new-license.md)
* [x] If necessary, please update the documentation to describe the new
feature.
* [ ] If necessary, please update `incompatible-changes.md` to describe the
incompatibility caused by this PR.
--
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]