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

Store events in a Redis stream instead of a list #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jjmerchante
Copy link
Collaborator

@jjmerchante jjmerchante commented Jul 11, 2024

This PR updates the method of storing events in Redis for later consumption.
Events are now added to a Redis Stream, allowing different types of consumers to process the items for various purposes. The trade-off is that the stream has a fixed length, causing older items to be deleted when new items are added.

@jjmerchante jjmerchante force-pushed the redis-stream branch 2 times, most recently from 153f64b to 6e5e0d9 Compare December 4, 2024 09:18
@jjmerchante jjmerchante marked this pull request as ready for review December 4, 2024 09:19
@jjmerchante jjmerchante force-pushed the redis-stream branch 3 times, most recently from fad31e5 to a962b7d Compare December 5, 2024 10:20
This commit updates the method of storing events in
Redis for later consumption.
Events are now added to a Redis Stream, allowing
different types of consumers to process the items for
various purposes. The trade-off is that the stream has a
fixed length, causing older items to be deleted when
new items are added.

Signed-off-by: Jose Javier Merchante <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant