Skip to content

feat: update message-broker to version 1.9.0 and add prefetch option to listenOn method#231

Merged
janosbabik merged 1 commit into
masterfrom
feat-prefetch
Apr 27, 2026
Merged

feat: update message-broker to version 1.9.0 and add prefetch option to listenOn method#231
janosbabik merged 1 commit into
masterfrom
feat-prefetch

Conversation

@janosbabik
Copy link
Copy Markdown
Contributor

Adds an optional prefetch option to listenOn(queue, cb, options?). When set, channel.prefetch(n, false) is called before channel.consume(), limiting unacknowledged messages per consumer to apply backpressure on consumers.

@janosbabik janosbabik merged commit 0fde65d into master Apr 27, 2026
1 check passed
@janosbabik janosbabik deleted the feat-prefetch branch April 27, 2026 11:16
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