You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m working on a multi-tenant application using Redis, and I need to ensure that Redis keys are prefixed with the tenant context (e.g., tenantA:User:123) to isolate data per tenant. However, I’ve been struggling with managing key prefixing through custom solutions, and it’s proving to be error-prone and difficult to maintain across various Redis operations.
My Question:
Does Spring Data Redis have built-in support for runtime multi-tenancy or a way to automatically apply tenant-aware key prefixing across all Redis operations (e.g., SADD, SMEMBERS, HSET, etc.) based on the current tenant context?
If not, is there an existing recommended approach to achieve this that doesn’t require extensive manual configuration or custom serializers?
I believe this functionality would be very beneficial for multi-tenant applications, and I would appreciate any advice or resources on how to implement this more effectively.
Thank you for your time and assistance!
The text was updated successfully, but these errors were encountered:
Hi Spring Data Redis Team,
I’m working on a multi-tenant application using Redis, and I need to ensure that Redis keys are prefixed with the tenant context (e.g., tenantA:User:123) to isolate data per tenant. However, I’ve been struggling with managing key prefixing through custom solutions, and it’s proving to be error-prone and difficult to maintain across various Redis operations.
My Question:
I believe this functionality would be very beneficial for multi-tenant applications, and I would appreciate any advice or resources on how to implement this more effectively.
Thank you for your time and assistance!
The text was updated successfully, but these errors were encountered: