[hotfix][kafka] Do not return producers to a pool in abort for non EXACTLY_ONCE modes
Previously on abort(...) producers were returned to the pool. This was minor bug, probably without any negative side effect, however this patch fixes it and adds additional sanity checks to guard against similar bugs in the future. This closes #4915.
Showing
想要评论请 注册 或 登录