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: How to use a renamed command #2796

Open
wangzhandongvip opened this issue Mar 22, 2024 · 1 comment
Open

Redis: How to use a renamed command #2796

wangzhandongvip opened this issue Mar 22, 2024 · 1 comment
Labels
status: waiting-for-feedback We need additional information before we can continue

Comments

@wangzhandongvip
Copy link

Feature Request

I have an issue when using springboot redisTemplate. for security reasons, the redis server need to rename the following command。
rename-command FLUSHALL ""
rename-command FLUSHDB ""
rename-command CONFIG ""
rename-command KEYS ""
rename-command SHUTDOWN ""
rename-command DEL ""
rename-command EVAL ""

and how I can use the renamed command with springboot redistemplate?
I see the Code in CommandType.java, can I change the command Name here?
img_v3_0297_75a78835-70d5-4aa1-a9e6-fc831e84bc7g

@mp911de
Copy link
Collaborator

mp911de commented Apr 2, 2024

Right now, you can either use Redis Command Interfaces or dispatch a custom command. We do not translate command names into renamed ones.

@tishun tishun added the status: waiting-for-feedback We need additional information before we can continue label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback We need additional information before we can continue
Projects
None yet
Development

No branches or pull requests

3 participants