Redis feeder authentication

Hello there. I need to get data from Redis server which has a TLS enabled and authentication with username and password.
I’m trying to use redisFeeder but I can’t understand how to make it to auth.
val redisPool =
RedisClientPool(“myHostAddress”, 6379)
.withMaxIdle(8)
.withDatabase(0)
.withSecret(null)
.withTimeout(0)
.withMaxConnections(-1)
.withPoolWaitTimeout(3000)
.withSSLContext(null)
.withBatchMode(false)

redisFeeder(redisPool, “foo”, “foo”).RPOPLPUSH()

What should I put in withSecret and withSSLContext?

Please check the documentation of scala-redis which is the underlying library Gatling’s redis feeder uses: GitHub - debasishg/scala-redis: A scala library for connecting to a redis server, or a cluster of redis nodes using consistent hashing on the client side.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.