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

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

    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

          People

            Unassigned Unassigned
            samlinxia sam lin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: