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)