[
https://issues.apache.org/jira/browse/BEAM-8408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548205#comment-17548205
]
Danny McCormick commented on BEAM-8408:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/19852
> [RedisIO][java] Writing with method SADD doesn't set TTL
> --------------------------------------------------------
>
> Key: BEAM-8408
> URL: https://issues.apache.org/jira/browse/BEAM-8408
> Project: Beam
> Issue Type: New Feature
> Components: io-java-redis
> Affects Versions: 2.14.0, 2.15.0, 2.16.0
> Reporter: Andrey Sokolov
> Priority: P3
>
> [https://github.com/apache/beam/blob/master/sdks/java/io/redis/src/main/java/org/apache/beam/sdk/io/redis/RedisIO.java]
> {code:java}
> private void writeUsingSaddCommand(KV<String, String> record, Long
> expireTime) {
> String key = record.getKey();
> String value = record.getValue();
> pipeline.sadd(key, value);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)