RedisLabs / spark-redis

A connector for Spark that allows reading and writing to/from Redis cluster
BSD 3-Clause "New" or "Revised" License
935 stars 368 forks source link

SSLSocketFactory sslSocketFactory, SSLParameters sslParameters JedisPool constructor support #305

Open zolani92 opened 3 years ago

zolani92 commented 3 years ago

Hi

I do see the ssl argument in RedisEndpoint which I can set to true but I don't understand how to pass keystore and truststore in order to do mutual tls with Redis server

My guess is that it would be interesting to add additional arguments to RedisEndpoint like SSLSocketFactory sslSocketFactory, SSLParameters sslParameters so that they can be passed to the JedisPool constructor in ConnectionPool.scala

Is there any other way?