Skip to content

Commit

Permalink
feat: enhance eventbus concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
liqiankun1111 committed May 3, 2024
1 parent eb0f0ef commit 1354100
Show file tree
Hide file tree
Showing 4 changed files with 407 additions and 292 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
Loading

0 comments on commit 1354100

Please sign in to comment.