You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Nick Caballero (Jira)" <ji...@apache.org> on 2022/04/25 16:16:00 UTC

[jira] [Created] (BEAM-14363) Kinesis WatermarkParameters builder clobbers values

Nick Caballero created BEAM-14363:
-------------------------------------

             Summary: Kinesis WatermarkParameters builder clobbers values
                 Key: BEAM-14363
                 URL: https://issues.apache.org/jira/browse/BEAM-14363
             Project: Beam
          Issue Type: Bug
          Components: io-java-kinesis
    Affects Versions: 2.38.0
            Reporter: Nick Caballero


The `WatermarkParameters` builder for the Kinesis watermark policy doesn't retain previously set values, which means you can only set either `timestampFn` or `idleDurationThreshold`, but not both.

 

The issue is that the exposed methods call `builder()` instead of `toBuilder()`, losing the previous values.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)