Uploaded image for project: 'Bahir'
  1. Bahir
  2. BAHIR-226

flink-connector-redis RedisMapper supports varargs by returning List<T> type in `getValueFromData` function

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Jedis can support varargs that takes multiple arguments to take the same operations. e.g. [SADD](https://redis.io/commands/sadd).  In Jedis code: https://github.com/xetorthio/jedis/blob/master/src/main/java/redis/clients/jedis/Jedis.java#L1212

      I think whether we could support this feature in sink connector?  This will be very useful in terms of performance and flexiblity.

      Didn't dive deep into implementation, but for interface wise, `RedisMapper::getValueFromData()` could return List<T>?  Or a new Mapper.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            samlinxia sam lin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment