Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In certain cases the `subscriptionManager` and drain loop in `abort` could start spinning against each other for a non-trivial amount of time, if e.g. a partition was suspended waiting for the user to consume its buffer. The tight loop has always been there, it has just tended to be trivially short in normal operation so nobody noticed. This is the same issue that the `wait` channel was introduced to solve for the `subscriptionConsumer` so solve it the same way.
- Loading branch information