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

Is it possible to use a custom prefix? #3

Open
rblazquez opened this issue Feb 19, 2015 · 2 comments
Open

Is it possible to use a custom prefix? #3

rblazquez opened this issue Feb 19, 2015 · 2 comments

Comments

@rblazquez
Copy link

I want to use a custom prefix for the redis keys.

This is important to me in order to have an easy esy to recognize the keys that belongs to a system, even some area of a system.

Might this be possible? ... i actually use prefixes with redis but don't know if this plugin is ready to be customized in this way.

@rblazquez
Copy link
Author

You can change prefix with cache.region_prefix however there are other prefixes like "z:" on the sorted sets seems not possible to remove.

Am i right?

@kiranmaikasturi
Copy link

Hi,
I am facing issue with this.
I am using Redis as Hibernate 2L cache, using hibernate.cache.region_prefix=hibernate. I can see 2 keys like this
"hibernate.abc"
"Z:hibernate.abc"

Is this really 2 keys with same value, or different? Can any one explain

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

No branches or pull requests

2 participants