Repro:
- Consumer method raises an exception
- Error routes through handle_error and notifies configured handlers
- Message remains in the Unacked state
- When service is stopped, message returns to the ready queue
Expected:
Consumer exception would be handled and notified, then the message would be acknowledged.
Findings:
Appears to be an issue with the break here:
https://github.com/teamsnap/pipe-ruby/blob/534ca366cfdf1d4dd6a60b2fe39949a0f233b9ad/lib/pipe/reducer.rb#L18
which prevents emque-consuming from reaching the RabbitMQ ack here:
https://github.com/teamsnap/emque-consuming/blob/3b7112eb43bd7c1e1dc9dddc71a3c70409629df0/lib/emque/consuming/adapters/rabbit_mq/worker.rb#L70