apache / apache/rocketmq-client-go

Producer repeatedly calls SendAsync without timeout

Open
#1,042 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
1.4k
Forks
445
PR merge metrics
No merged PRs in 30d

Description

SendAsync is called asynchronously in the coroutine, but it will not return if it times out and will get stuck in the function call

in SendAsync
ctx, cancel := context.WithTimeout(ctx, 3*time.Second)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.