[
https://issues.apache.org/jira/browse/BEAM-14363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Moritz Mack reassigned BEAM-14363:
----------------------------------
Assignee: Moritz Mack (was: Nick Caballero)
> 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
> Assignee: Moritz Mack
> Priority: P2
> Labels: aws-sdk-v1, aws-sdk-v2
> Fix For: 2.39.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)