Closed lynnagara closed 10 months ago
my current suspicion is that we are applying backpressure while new partitions are being assigned, somehow. so we pause the consumer here:
but at the next poll, we get a partition assigned, which is not paused
then we fail here; https://github.com/getsentry/arroyo/blob/ba85564a91f95b0188d626dd3c03bb855f15726c/arroyo/processing/processor.py#L352-L354
I wonder if we can just remove the assertion, the StreamProcessor does not really need it i think
Agree we don't need the assertion. Removed in https://github.com/getsentry/arroyo/pull/305
Superceded by https://github.com/getsentry/arroyo/pull/305
Not confident this is going to do anything but I don't really have other ideas. For some reason the consumer occasionally does not seem to be truly paused even when the self.__is_paused flag is set.