Make Python consumers acks async (#3782)
### Motivation Fixes #3779 The behavior of acknowledgment has always been to throw exception if consumer is not connected. In reality it doesn't make much sense to bubble back exception to user in this case because: * There's no ack on the ack anyway * The only reason for ack to fail is if consumer is disconnected * If consumer is disconnected, messages are going to be replayed in any case * Therefore, there's no action to do when acking while disconnected This is already the case in the Java and Go clients (additionally Java client performs client side grouping of acks based on time). Changing the Python client behavior to be the same.
Showing
想要评论请 注册 或 登录