pandaapo opened a new issue, #3861: URL: https://github.com/apache/eventmesh/issues/3861
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues. ### Enhancement Request * 3 `AbstractProducer` in module knative, rocketmq, pulsar have some same content. Even `AbstractProducer` in kafka is not been designed into `Producer`'s hierarchy. * `InterruptedException` should never be ignored. Or the import interrupted state of Thread may be ignored unexpected. ### Describe the solution you'd like * Add a `AbstractProducer` in spi module implements `Producer`. Make `AbstractProducer` in module knative, kafka, rocketmq, pulsar extends `AbstractProducer` in spi module. * Catch `InterruptedException` and call `interrupt()` of current Thread. ### Are you willing to submit PR? - [X] Yes I am willing to submit a 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
