Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-13284

[RedisIO] - Writing with method PFADD doesn't set TTL

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Missing
    • io-java-redis
    • None

    Description

      RedisIO PFADD writing does not support TTL

       

      if we check the method writeUsingHLLCommand: https://github.com/apache/beam/blob/master/sdks/java/io/redis/src/main/java/org/apache/beam/sdk/io/redis/RedisIO.java

       

      the variable expireTime is not being used

       

        private void writeUsingHLLCommand(KV<String, String> record, Long expireTime) { 
             String key = record.getKey(); 
             String value = record.getValue();
              pipeline.pfadd(key, value);
        } 

       

      Attachments

        Issue Links

          Activity

            People

              robertwb Robert Bradshaw
              robertosf90 Roberto
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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