-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 client with AWS Elasticache #32159
Comments
/cc @cescoffier (redis), @gsmet (redis), @gwenneg (cache), @machi1990 (redis) |
Possibly related to this one: vert-x3/vertx-redis-client#343 |
Closing as vert-x3/vertx-redis-client#343 has been fixed and integrated in Quarkus. Please re-open it with a reproducer if you are still having the issue. |
Let me reopen this, because vert-x3/vertx-redis-client#343 has not been fixed in a Vert.x release yet. And when we do integrate it, we'll have to adjust the configuration model in Quarkus too. So the remaining work is small, but non-zero still. |
My bad! I was thinking it was integrated |
Describe the bug
I've created a redis cluster using AWS elasticache (with no cluster mode).
The cluster contains a master and 2 replicas.
I'm building a Lambda using the quarkus-amazon-lambda extension as well as the quarkus-redis-client extension.
I've configured my client to use this type:
quarkus.redis.client-type=replication
.I've deployed my lambda and configured it to be in the same VPC as my Elasticache Redis cluster.
When invoking the lambda, I'm getting this error:
The ip in the error(x.x.x.x) is outside of my VPC.
Turns out that Vertx RedisReplicationClient is using the
info replication
command that returns:Where the ips from the command are indeed the ips from the error above.
This is clearly a problem with the Vertx client.
I've tried to deploy a simple lambda using nodejs and the redis dependency and it worked as expected.
Expected behavior
A successful connection from the lambda to Elasticache.
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: