You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Alexey Romanenko (Jira)" <ji...@apache.org> on 2022/04/27 09:21:00 UTC
[jira] [Updated] (BEAM-14363) Kinesis WatermarkParameters builder clobbers values
[ https://issues.apache.org/jira/browse/BEAM-14363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Romanenko updated BEAM-14363:
------------------------------------
Status: Open (was: Triage Needed)
> 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
> Priority: P2
> Time Spent: 50m
> 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)