Skip to content

Messages with exceptions are not being acknowledged. #37

@ryanwi

Description

@ryanwi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions