You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I used redis pub/sub in older AH projects to communicate between instances happily before.
I can remember in version 19 or 20 I could create a message handler:
However working on a new project right now I don't see how to define a receiving handler function for a publish.
The docs for redis don't contain subscriptionHandlers anymore: https://docs.actionherojs.com/modules/redis.html
What's the correct / preferred way to pub/sub via redis between instances right now?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I used redis pub/sub in older AH projects to communicate between instances happily before.
I can remember in version 19 or 20 I could create a message handler:
And publish a message with:
However working on a new project right now I don't see how to define a receiving handler function for a publish.
The docs for
redis
don't containsubscriptionHandlers
anymore: https://docs.actionherojs.com/modules/redis.htmlWhat's the correct / preferred way to pub/sub via redis between instances right now?
Beta Was this translation helpful? Give feedback.
All reactions