nostream icon indicating copy to clipboard operation
nostream copied to clipboard

feat(redis): Add prefix key to RedisAdapter

Open exodusanto opened this issue 1 year ago • 0 comments

Description

Add option to set a Redis prefix for keys, this allow multiple apps to use same redis endpoint

Related Issue

Motivation and Context

In my case I have multiple app connected to a single Redis node on AWS, this prevent conflict in key names

How Has This Been Tested?

Ensure all keys has defined prefix

Screenshots (if appropriate):

Types of changes

  • [ ] Non-functional change (docs, style, minor refactor)
  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] My code follows the code style of this project.
  • [x] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [x] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my code changes.
  • [ ] All new and existing tests passed.

exodusanto avatar Jan 25 '24 11:01 exodusanto