Skip to content

Clarify the noAck parameter of BasicConsume #255

@jeremyVignelles

Description

@jeremyVignelles

When following the tutorial, I came across this line:

Message acknowledgments are turned on by default. In previous examples we explicitly turned them off by setting the noAck ("no manual acks") parameter to true. It's time to remove this flag and send a proper acknowledgment from the worker, once we're done with a task.

This really bugs me. Indeed, the noAck option was set to true on the first example, but this option enables the acknowledgment instead of disabling it.

When looking for the documentation, I found the java equivalent to this function, where the parameter is named autoAck

  • The parameter should be named autoAck, to keep aligned with the Java client
  • The default value should be set to true
  • The documentation should be updated.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions