We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f3415 commit 87761b0Copy full SHA for 87761b0
docs/user-guide/connecting-redis.md
@@ -377,10 +377,11 @@ Microsoft Entra ID tokens have a limited lifetime. Lettuce provides a mechanism
377
RedisURI redisURI = RedisURI.builder()
378
.withHost(HOST)
379
.withPort(PORT)
380
+ .withSsl(true)
381
.withAuthentication(credentialsSP).build();
382
383
// RedisClient
- RedisClient redisClient = RedisClient.create(redisURI1);
384
+ RedisClient redisClient = RedisClient.create(redisURI);
385
redisClient.setOptions(clientOptions);
386
387
try {
@@ -394,4 +395,4 @@ Microsoft Entra ID tokens have a limited lifetime. Lettuce provides a mechanism
394
395
redisClient.shutdown(); // Shutdown Redis client and close connections
396
credentialsSP.close(); // Shutdown Entra ID Credentials provider
397
}
-```
398
+```
0 commit comments