Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Reuse channel in receiver to allow setup global qos #181

@abialas

Description

@abialas

Receiver creates a new channel for every queue it consuming from. It removes the possibility to set global qos (described here: https://www.rabbitmq.com/consumer-prefetch.html#sharing-the-limit)

Motivation

If single consumer consumes from multiple queue it creates new channel and qos works only for single channel. We have multiple queues where load might be different at the specific point in time. If we set qos per channel we might get OOM so we must lower the value to the worst case (when each queue is fully occupied with high traffic). However, this has impact on consumer performance when only one queue at a time has high load. With global qos (shared channel) it should be possible.

Desired solution

Have a possibility to share channel for Receiver along with possibility to setup global qos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions