salvalcantara
06/11/2024, 1:34 PMmyConfig.durationTTL()) is greater than zero:
newBuilder(Time.fromDuration(myConfig.durationTTL()))
.setUpdateType(StateTtlConfig.UpdateType.OnCreateAndWrite)
.setStateVisibility(StateTtlConfig.StateVisibility.NeverReturnExpired)
.build();
and this otherwise for the disabled case:
newBuilder(Time.milliseconds(Long.MAX_VALUE))
.setUpdateType(StateTtlConfig.UpdateType.Disabled)
.build();
What I'd like is to never break the state regardless of the duration value. Is it possible to reconcile these cases?Pedro Mázala
06/11/2024, 3:32 PMsalvalcantara
06/11/2024, 5:16 PMuids for the operators? Yeah...salvalcantara
06/11/2024, 5:21 PMThe TTL configuration is not part of check- or savepoints but rather a way of how Flink treats it in the currently running job.
so the TTL config should not break savepoints...