Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-9226

Support Redis Cluster mode in the Debezium Redis sink module

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.4.0.Alpha1
    • 3.2.0.Final
    • debezium-server
    • None

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      Support Redis Cluster mode in the Debezium Redis sink module.

      Currently, Debezium uses the Jedis inside the Redis sink module. However, Jedis is suitable only for single-node Redis deployments, while Redis Cluster requires using JedisCluster instead.

      The current implementation is fixed to use Jedis, so even if cluster-related configurations are provided in the sink settings, Debezium is unable to write CDC events to Redis in cluster mode.

      Therefore, as it is common to use Redis in cluster mode at the enterprise level, it would be beneficial to add support for enabling Redis Cluster mode via configuration and allow the Redis sink to connect and write data to a Redis cluster.

      Implementation ideas (optional)

      • Introduce a sink configuration property such as redis.cluster.enabled (boolean) to toggle cluster support.
      • If cluster mode is enabled, instantiate JedisClusterClient instead of JedisClient when initializing the Redis client in the sink module.
      • Ensure that the sink can handle Redis Cluster-specific behavior, such as slot management and automatic redirection handling.

      Additional info

      • If it is still possible to use a Redis cluster as a sink connector on a Debezium server, I would appreciate it if you could let me know how. (share application.properties or something...)

              Unassigned Unassigned
              doljae Seokjae Lee (Inactive)
              Pranav Tiwari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: