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

Redis streams native ids #3

Open
wants to merge 8 commits into
base: redis-streams
Choose a base branch
from

Conversation

benlangfeld
Copy link
Member

@benlangfeld benlangfeld commented Dec 5, 2018

Incorporates work on IDs into the Redis Streams implementation.

There's nothing useful they can do with it anyway.
…acklog

Will now report -1 any time a message comes directly from a specific channel. It is not possible for an arbitrary backend implementation to efficiently provide the `global_id` of messages fetched from channel-specific storage mechanisms.
Also probably improves performance by fetching full backlogs less often.
Subscribing from some future point is unnecessary and heavy to implement. See ae0d7cd#commitcomment-31541983
When client code tries to subscribe to a channel using a `last_id` that doesn't exist on that channel, we raise an exception.

See ae0d7cd#commitcomment-31544627 for details.
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