warpgate
warpgate copied to clipboard
Add support for Redis
I'm looking to integrate Redis databases into warpgate. I would really appreciate a high-level overview or guidance on how to implement this.
You could use the warpgate-protocol-postgres or the warpgate-protocol-mysql crate as a template. In short, you're implementing ProtocolServer and the rest stems from there. Within the session, you need to accept Redis traffic, handle the authentication and then yourself connect to the target Redis server as a client, and then forward the traffic back and forth and log it.