[functions][worker] timeout creating producer for worker (#2738)
*Motivation* Sometime when we run worker service as part of broker, some pods can be hanging on creating producers to assignment topics. It is unknown whether is it a k8s problem or not. But in general, timeout to fail fast to allow k8s to reschedule the pods. *Changes* Add a timeout logic at creating producers.
Showing
想要评论请 注册 或 登录