PubSub
faststream.redis.PubSub #
Bases: NameRequired
A class to represent a Redis PubSub channel.
Source code in faststream/redis/schemas/pub_sub.py
address instance-attribute #
The channel this endpoint was declared with, and its Broker address.
name instance-attribute #
The channel Redis is (p)subscribed to, e.g. logs.* for logs.{level}.
pattern instance-attribute #
Whether to subscribe with psubscribe rather than subscribe.