netcorepal / cap4j

Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
MIT License
46 stars 9 forks source link

与CAP项目的message格式兼容,以实现event在java和dotnet系统之间互通 #4

Open witskeeper opened 3 months ago

witskeeper commented 3 months ago

如果能够使得cap4jCAP的message消息格式保持一致,意味着实现javadotnet程序间的无缝对接,为异构系统的兼容性提供支持,帮助更多的团队拓展技术栈。

CAP 项目: https://github.com/dotnetcore/CAP

https://github.com/dotnetcore/CAP/blob/master/src/DotNetCore.CAP/Messages/TransportMessage.cs

https://github.com/dotnetcore/CAP/blob/master/src/DotNetCore.CAP/Messages/Message.cs

可能的解决方案:

option 1. cap4j发送到MQ的消息格式保持与CAP一致 option 2. 分别提供Java、dotnet版本的消息消费端的消息格式转换组件包