https://github.com/programmeranthony/courier
Courier is responsible for Data Consistency. 消息最终一致性保障工具
https://github.com/programmeranthony/courier
Last synced: 11 months ago
JSON representation
Courier is responsible for Data Consistency. 消息最终一致性保障工具
- Host: GitHub
- URL: https://github.com/programmeranthony/courier
- Owner: ProgrammerAnthony
- Created: 2016-02-15T03:46:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-02-21T02:08:51.000Z (about 4 years ago)
- Last Synced: 2023-10-20T22:39:35.830Z (over 2 years ago)
- Language: Java
- Homepage:
- Size: 33.2 KB
- Stars: 113
- Watchers: 8
- Forks: 55
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Courier is responsible for Data Consistency.
Courier是一个分布式消息投递的使者,确保消息的最终一致性
- 使用Spring 自动配置机制和环绕通知对方法上的注解进行解析和环绕通知处理,
- 引入mybatis插入对应的接口数据,通过数据执行成功/失败更新对应的sql
- 在异常情况下会触发fallback机制和告警
本地消息表方案:在本地事务中将要执行的异步操作记录在消息表中,如果执行失败,可以通过定时任务来补偿
- with spring auto configurations and around aspect to proceed methods
- import mybatis to insert a pre sql and post update sql with success or fail operation
- with fallback and fallback error(will trigger alarm )support