Uploaded image for project: 'Bahir (Retired)'
  1. Bahir (Retired)
  2. BAHIR-262

Add Redis Table Sink in cluster mode connect with redis by password.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Flink-1.0
    • Flink-1.1.0
    • None
    • bahir-master branch
    • Important

    Description

      RedisTableSinkFactory unsupport connect with redis cluster by password in cluster mode.

      proposal:

      1. RedisTableSinkFactory#supportedProperties:

      add: properties.add("cluster.password");

      2. FlinkJedisClusterConfigHandler#createFlinkJedisConfig:

      add: String clusterPassword = properties.get("cluster.password");

      modify:

      if(clusterPassword !=null && !"".equals(clusterPassword))

          return new FlinkJedisClusterConfig.Builder().setNodes(nodes).setPassword(clusterPassword).build();

      else

          return new FlinkJedisClusterConfig.Builder().setNodes(nodes).build();

      Attachments

        Activity

          People

            Unassigned Unassigned
            yanchenyun Carl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified