Skip to content

Fix Pull.Producer docs: on_failure defaults to {:nack, 0} - #115

Merged
rockneurotiko merged 1 commit into
elixir-broadway:mainfrom
reidmorrison:docs/pull-producer-on-failure-default
Nov 20, 2026
Merged

rockneurotiko merged 1 commit into
elixir-broadway:mainfrom
reidmorrison:docs/pull-producer-on-failure-default

Conversation

@reidmorrison

Copy link
Copy Markdown
Contributor

The BroadwayCloudPubSub.Pull.Producer moduledoc still says failed messages are ignored (:noop) by default. In 2.0 the :on_failure option defaults to {:nack, 0} (pull/options.ex), as the CHANGELOG and the upgrade guide say, so readers of the moduledoc get the wrong idea about what happens to failed messages after upgrading.

This updates the sentence to match the option's default. Docs only.

@rockneurotiko
rockneurotiko merged commit e7e9fb9 into elixir-broadway:main Nov 20, 2026
3 checks passed
@rockneurotiko

Copy link
Copy Markdown
Contributor

Thanks! 🧡

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.

2 participants