hhuang1231 commented on issue #4567: URL: https://github.com/apache/eventmesh/issues/4567#issuecomment-1819266475
@xwm1992 假如我想在应用程序中直接调用eventmesh提供的api来发送事件到mesh,目前我只知道两种方式: 1. 利用原生的java sdk在应用程序中new connectorRecord后,再发送给mesh,mesh再根据topic发送给sink。 2. 利用connector-spring的source来发送。_特别地,它提供的send方法将ConnectRecord隐藏了起来,那么用户将无法为其添加额外的extension。这样将无法满足将消息发送到钉钉那种需要特殊字段标识的sink中的条件_。 我主要想知道如果想让用户使用更方便的话,是不是应该对在应用程序中发送ConnectRecord做更多的优化,例如丰富spring的支持。 除此之外我还想知道目前connector中的spring和#2314 中提到的利用spring简化java sdk的使用有什么区别。 -- 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]
