Skip to content

Conversation

@timothyvanderaerden
Copy link

This includes the following

  • Fix delivery_tag type for ack/3 and reject/3 in adapter callback
  • Follow basic_consume_ok/2 and basic_deliver/3 callback contract in the consumer case clauses

I'm not sure if the last is applicable, maybe the callback return types need to be changed instead?

According to the callback `basic_consume_ok/2` and `basic_deliver/3` expect `:ok` or `{:stop, reason :: any()}`. However they both contain a case clause which can never be invoked since other clauses in that case matches the contract.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant