Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-5478

Redis Sink Connector should allow update of command without reinstatiation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1.4
    • None
    • Connectors / Common
    • None

    Description

      `getCommandDescription()` gets called when RedisSink is instantiated. This happens only once and thus doesn't allow the command to be updated during run time.

      Use Case:
      As a dev I want to store some data by day. So each key will have some date specified. this will change over course of time. for example: `counts_for_1484265600000` for 2017-01-13. This is not limited to any particular command.

      connector: https://github.com/apache/bahir-flink/blob/master/flink-connector-redis/src/main/java/org/apache/flink/streaming/connectors/redis/RedisSink.java#L114

      I wish `getCommandDescription()` could be called in `invoke()` so that the key can be updated without having to restart.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              atharvai Atharva Inamdar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: