Channel
faststream.rabbit.Channel dataclass #
Channel(
prefetch_count: int | None = None,
global_qos: bool = False,
channel_number: int | None = None,
publisher_confirms: bool = True,
on_return_raises: bool = False,
)
Channel class that represents a RabbitMQ channel.
prefetch_count class-attribute instance-attribute #
prefetch_count: int | None = None
Limit the number of unacknowledged messages on a channel https://www.rabbitmq.com/docs/consumer-prefetch
global_qos class-attribute instance-attribute #
global_qos: bool = False
Share the limit between all channel' subscribers https://www.rabbitmq.com/docs/consumer-prefetch#sharing-the-limit
channel_number class-attribute instance-attribute #
channel_number: int | None = None
Specify the channel number explicit.