Skip to content

RedisTaskHandler Example #63881

@KengoWada

Description

@KengoWada

What do you see as an issue?

Hi everyone,

While reviewing the documentation for logging to Redis, I noticed that the section describing RedisTaskHandler doesn’t currently include a concrete example of how to configure and use it.

Since this handler behaves a bit differently from others, particularly with its use of a connection ID and the ability to run alongside other logging handlers, it would be really helpful to have a minimal, end-to-end example. For instance, showing the relevant airflow.cfg settings along with how to define the Redis connection would make it much easier for users to get started and avoid confusion.

I also found a previous PR that raised a similar question, but it looks like it didn’t get a response, so I thought it might be worth bringing up again.

Would maintainers be open to adding such an example to the docs? I’d be happy to help draft a sample configuration if that would be useful.

Thanks in advance!

Solving the problem

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions