producer send msg timeout option does not take effect
twz915 opened this issue · 0 comments
twz915 commented
BUG REPORT
- Please describe the issue you observed:
What is the purpose of the change
producer send msg timeout option does not take effect
rocketmq.NewProducer(
producer.WithSendMsgTimeout(time.Second*3),
producer.WithRetry(2),
)
In most cases, a fixed timeout of 3 seconds is written into the code, preventing the configuration from taking effect.