RedisLoggingBroker
faststream.redis.broker.logging.RedisLoggingBroker #
RedisLoggingBroker(*args, logger=EMPTY, log_level=INFO, log_fmt=None, **kwargs)
Bases: BrokerUsecase[UnifyRedisDict, 'Redis[bytes]']
A class that extends the LoggingMixin class and adds additional functionality for logging Redis related information.
Source code in faststream/redis/broker/logging.py
setup #
Prepare all Broker entities to startup.
add_middleware #
Append BrokerMiddleware to the end of middlewares list.
Current middleware will be used as a most inner of already existed ones.
Source code in faststream/broker/core/abc.py
subscriber abstractmethod
#
Source code in faststream/broker/core/abc.py
publisher #
include_router #
Includes a router in the current object.
Source code in faststream/broker/core/abc.py
include_routers #
start abstractmethod
async
#
connect async
#
Connect to a remote server.
Source code in faststream/broker/core/usecase.py
setup_subscriber #
Setup the Subscriber to prepare it to starting.
Source code in faststream/broker/core/usecase.py
setup_publisher #
Setup the Publisher to prepare it to starting.
Source code in faststream/broker/core/usecase.py
close async
#
Closes the object.
Source code in faststream/broker/core/usecase.py
publish async
#
Publish message directly.
Source code in faststream/broker/core/usecase.py
request async
#
Publish message directly.