You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using **Azure Cache for Redis** (especially Enterprise tier) or **Redis Enterprise**, there are important configuration considerations:
58
+
If you're using **Azure Managed Redis**, **Azure Cache for Redis** (especially Enterprise tier) or **Redis Enterprise**, there are important configuration considerations:
59
59
60
60
#### Client Configuration
61
61
62
-
Azure Cache for Redis and Redis Enterprise use a **proxy layer** that makes the cluster appear as a single endpoint. This requires using a **standard Redis client**, not a cluster-aware client:
62
+
Azure Managed Redis, Azure Cache for Redis and Redis Enterprise use a **proxy layer** that makes the cluster appear as a single endpoint. This requires using a **standard Redis client**, not a cluster-aware client:
63
63
64
64
```python
65
65
from redis import Redis
@@ -68,7 +68,7 @@ from langgraph.checkpoint.redis import RedisSaver
68
68
# ✅ CORRECT: Use standard Redis client for Azure/Enterprise
69
69
client = Redis(
70
70
host="your-cache.redis.cache.windows.net", # or your Redis Enterprise endpoint
71
-
port=6379, # or 10000 for Azure Enterprise with TLS
71
+
port=6379, # or 10000 for Azure Managed Redis / Azure Enterprise with TLS
72
72
password="your-access-key",
73
73
ssl=True, # Azure/Enterprise typically requires SSL
74
74
ssl_cert_reqs="required", # or "none" for self-signed certs
@@ -86,23 +86,23 @@ saver.setup()
86
86
87
87
#### Why This Matters
88
88
89
-
-**Proxy Architecture**: Azure Cache for Redis and Redis Enterprise use a proxy layer that handles cluster operations internally
89
+
-**Proxy Architecture**: Azure Managed Redis, Azure Cache for Redis and Redis Enterprise use a proxy layer that handles cluster operations internally
90
90
-**Automatic Detection**: RedisSaver will correctly detect this as non-cluster mode when using the standard client
0 commit comments