qqeasonchen opened a new issue, #902: URL: https://github.com/apache/incubator-eventmesh/issues/902
### 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 @EventMeshSPI(isSingleton = false, eventMeshExtensionType = EventMeshExtensionType.CONNECTOR) public interface Producer extends LifeCycle { void init(Properties properties) throws Exception; SendResult publish(final CloudEvent cloudEvent); void publish(CloudEvent cloudEvent, SendCallback sendCallback) throws Exception; void sendOneway(final CloudEvent cloudEvent); void sendAsync(final CloudEvent cloudEvent, final SendCallback sendCallback); void request(CloudEvent cloudEvent, RequestReplyCallback rrCallback, long timeout) throws Exception; boolean reply(final CloudEvent cloudEvent, final SendCallback sendCallback) throws Exception; void checkTopicExist(String topic) throws Exception; void setExtFields(); } ### Describe the solution you'd like These three interfaces should be merge into only oneļ¼ SendResult publish(final CloudEvent cloudEvent); void publish(CloudEvent cloudEvent, SendCallback sendCallback) throws Exception; void sendAsync(final CloudEvent cloudEvent, final SendCallback sendCallback); ### Are you willing to submit PR? - [ ] 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]
