Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

producer send msg timeout option does not take effect #1110

Closed
twz915 opened this issue Nov 27, 2023 · 0 comments · Fixed by #1109
Closed

producer send msg timeout option does not take effect #1110

twz915 opened this issue Nov 27, 2023 · 0 comments · Fixed by #1109

Comments

@twz915
Copy link
Contributor

twz915 commented Nov 27, 2023

BUG REPORT

  1. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant