Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/integration/rocketmq/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ type SeataMQProducerConfig struct {

RetryTimesWhenSendFailed int
SendMsgTimeout time.Duration
ConnPoolSize int
}

func NewDefaultSeataMQProducerConfig() *SeataMQProducerConfig {
return &SeataMQProducerConfig{
RetryTimesWhenSendFailed: 3,
SendMsgTimeout: 3 * time.Second,
ConnPoolSize: 4,
}
}

Expand Down
1 change: 1 addition & 0 deletions pkg/integration/rocketmq/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ const (
ActionContextKeyQueueOffset = "queueOffset"
ActionContextKeyTransactionId = "transactionId"
ActionContextKeyBrokerName = "brokerName"
ActionContextKeyTopic = "topic"
)
Loading
Loading