Skip to content

Bug: Redis broker does not work with decode_responses=True #2239

Open
@powersemmi

Description

@powersemmi

Describe the bug
Redis broker does not process message with decode_responses=True param

How to reproduce
Include source code:

from faststream.redis import RedisBroker

broker = RedisBroker(
    url=str(config.REDIS_DSN),
    logger=logger,
    max_connections=20,
    decode_responses=True,
)

sub_config = StreamSub(
    stream='test',
    group='test',
    consumer='test'
)

@broker.subscriber(stream=sub_config)
async def test():
    print('hello')

Metadata

Metadata

Assignees

No one assigned

    Labels

    RedisIssues related to `faststream.redis` module and Redis featuresbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions