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

[WIP] Add new RedisRepository #52

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Namoshek
Copy link
Collaborator

@Namoshek Namoshek commented Jan 2, 2021

This PR re-introduces the RedisRepository deleted by #33, but with the new Repository interface and slightly different logic.

The new implementation utilizes hash maps for pending messages instead of sets. Most operations only involve one call to the Redis database, since we can use commands which terminate gracefully on failure (which we can then forward as exception or negative result to the caller).

Todos:

  • Test implementation

This PR superseeds #40 which was based on an old branch.

The repository is inspired by the previous implementation but uses hash maps over sets for pending messages (due to message identifiers as keys).
@Namoshek Namoshek added the enhancement New feature or request label Jan 2, 2021
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 2, 2021

@Namoshek Namoshek added this to the v1.1.0 milestone Jan 3, 2021
@Namoshek Namoshek removed this from the v1.1.0 milestone Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant