FrankYang0529 commented on code in PR #71067:
URL: https://github.com/apache/airflow/pull/71067#discussion_r3796781385
##########
providers/redis/docs/connections.rst:
##########
@@ -64,3 +73,26 @@ Certificate path
Enable hostname check
If set, match the hostname during the SSL handshake (Default is ``False``).
+
+.. _redis-cluster-mode:
+
+Cluster mode
+------------
+
+Redis Cluster spreads the keyspace over 16384 hash slots owned by different
masters, and expects
+the client to route each command to the node owning that key's slot. A
standalone client does not
+do this: when it asks a node for a key that node does not serve, the node
answers ``MOVED`` and
+the standalone client fails.
+
+Enable cluster mode to use a cluster-aware client that follows those redirects:
+
+.. code-block:: json
+
+ {
+ "cluster": true,
+ "startup_nodes": ["node-2:6379", "node-3:6379"]
Review Comment:
Change to use `// Connection extra`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]