Skip to content

Commit

Permalink
feat: enhance eventbus with service_event
Browse files Browse the repository at this point in the history
  • Loading branch information
liqiankun1111 committed May 6, 2024
1 parent eb0f0ef commit 8f13c4d
Show file tree
Hide file tree
Showing 5 changed files with 410 additions and 290 deletions.
3 changes: 2 additions & 1 deletion event.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ type SendType string

const (
SendTypeNormal SendType = "normal" // 普通事件
SendTypeFIFO SendType = "FIFO" // 保序事件,即事件以 Sender 的发送时间顺序被消费执行
SendTypeFIFO SendType = "FIFO" // 保序事件,即事件以 Sender 的发送时间顺序被消费执行,且前序事件执行失败时会阻塞后续事件执行
SendTypeLaxFIFO SendType = "LaxFIFO" // 保序事件,即事件以 Sender 的发送时间顺序被消费执行,但前序事件的执行成败不影响后续事件
SendTypeTransaction SendType = "transaction" // 事务事件
SendTypeDelay SendType = "delay" // 延时发送
)
Expand Down

0 comments on commit 8f13c4d

Please sign in to comment.