Skip to content

Add Redis transparent proxy test utilities #3019

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

Merged
merged 1 commit into from
Jul 23, 2025

Conversation

bobymicroby
Copy link
Member

@bobymicroby bobymicroby commented Jul 17, 2025

The RedisProxy component is a transparent TCP proxy designed for Redis integration testing that sits between Redis clients and servers, enabling sophisticated test scenarios through arbitrary RESP response injection.

The proxy maintains full protocol compatibility while providing the ability to intercept all bidirectional traffic, monitor connection events, and most importantly, inject custom RESP messages directly to client connections. This allows developers to simulate complex Redis behaviors like cluster redirections (MOVED/ASK responses), RESP3 push notifications, error conditions, and server-side events that would be difficult to reproduce with a real Redis server.

@bobymicroby bobymicroby changed the title [WIP] Add Redis transparent proxy test utilities Add Redis transparent proxy test utilities Jul 18, 2025
Copy link
Collaborator

@nkaradzhov nkaradzhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CLGTM

@nkaradzhov nkaradzhov merged commit 4ae14bb into redis:master Jul 23, 2025
14 checks passed
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

Successfully merging this pull request may close these issues.

2 participants