apache / servicecomb-pack

Apache ServiceComb Pack is an eventually data consistency solution for micro-service applications. ServiceComb Pack currently provides TCC and Saga distributed transaction co-ordination solutions by using Alpha as a transaction coordinator and Omega as an transaction agent .
https://servicecomb.apache.org/
Apache License 2.0
1.93k stars 436 forks source link

支持rabbitmq #686

Closed githubcheng2978 closed 3 years ago

githubcheng2978 commented 3 years ago

我这边因为不能使用redis和kafka作为消息队列,能否支持一下rabbitmq呢

coolbeevip commented 3 years ago

kafka作为消息队列,redis为akka的actor的分布式状态机提供状态存储。如果要替换这部分可能需要了解一下消息处理部分的逻辑,和akka的状态机持久化的配置

githubcheng2978 commented 3 years ago

redis为akka的actor的分布式状态机提供状态存储,这个是以插件的方式提供的,也在源码里面看到了用到了redis和kafka,以及inmemory作为消息队列。 如果需要使用rabiitmq,我理解只需要在消息处理的逻辑里面,新增rabbitmq的支持就可以了。

coolbeevip commented 3 years ago

redis为akka的actor的分布式状态机提供状态存储,这个是以插件的方式提供的,也在源码里面看到了用到了redis和kafka,以及inmemory作为消息队列。 如果需要使用rabiitmq,我理解只需要在消息处理的逻辑里面,新增rabbitmq的支持就可以了。

是的

githubcheng2978 commented 3 years ago

我已经将rabbit的替代方案开发了,采用的spring-cloud-stream ,能否提PR

coolbeevip commented 3 years ago

我已经将rabbit的替代方案开发了,采用的spring-cloud-stream ,能否提PR

欢迎,最好是通过参数可以配置,这样使用者可以自行选择使用哪个方式