Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding redis handlers #20

Open
stephensanwo opened this issue Feb 13, 2022 · 1 comment
Open

Consider adding redis handlers #20

stephensanwo opened this issue Feb 13, 2022 · 1 comment

Comments

@stephensanwo
Copy link

No description provided.

@melvinkcx
Copy link
Owner

Hi @stephensanwo, thanks for raising this.
I have no plans, nor the buffer to add more handlers at the moment.
Meanwhile, there are several options to forward events to Redis:

  1. use a custom local_handler to forward the events:
@local_handler.register(event_name="*")
async def forward_to_redis(event: Event):
    # Forward your events to a Redis cluster here
    ...
  1. write your own event handler:
    See: https://github.com/melvinkcx/fastapi-events#creating-your-own-handler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants