You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fa...@apache.org on 2023/08/02 02:04:16 UTC
[flink] branch master updated (d11cc32948b -> c61cbd7977b)
This is an automated email from the ASF dual-hosted git repository.
fanrui pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
from d11cc32948b [FLINK-32681] Wait for RocksDBStateDownloader threads on failure to ensure proper cleanup.
new 796555ecd30 [FLINK-32705][connectors/common] Remove the beta for watermark alignment
new c61cbd7977b [FLINK-32705][connectors/common] Watermark alignment upgraded from Experimental to PublicEvolving
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../docs/dev/datastream/event-time/generating_watermarks.md | 2 +-
.../docs/dev/datastream/event-time/generating_watermarks.md | 2 +-
.../org/apache/flink/api/common/eventtime/WatermarkStrategy.java | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
[flink] 02/02: [FLINK-32705][connectors/common] Watermark alignment upgraded from Experimental to PublicEvolving
Posted by fa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
fanrui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit c61cbd7977b651e3c6b013cc05acc9cca242f0e0
Author: 1996fanrui <19...@gmail.com>
AuthorDate: Thu Jul 27 23:22:08 2023 +0800
[FLINK-32705][connectors/common] Watermark alignment upgraded from Experimental to PublicEvolving
---
.../org/apache/flink/api/common/eventtime/WatermarkStrategy.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/flink-core/src/main/java/org/apache/flink/api/common/eventtime/WatermarkStrategy.java b/flink-core/src/main/java/org/apache/flink/api/common/eventtime/WatermarkStrategy.java
index a6ad73240d0..b0ed9c46754 100644
--- a/flink-core/src/main/java/org/apache/flink/api/common/eventtime/WatermarkStrategy.java
+++ b/flink-core/src/main/java/org/apache/flink/api/common/eventtime/WatermarkStrategy.java
@@ -18,8 +18,8 @@
package org.apache.flink.api.common.eventtime;
-import org.apache.flink.annotation.Experimental;
import org.apache.flink.annotation.Public;
+import org.apache.flink.annotation.PublicEvolving;
import java.io.Serializable;
import java.time.Duration;
@@ -84,7 +84,7 @@ public interface WatermarkStrategy<T>
* <p>Once configured Flink will "pause" consuming from a source/task/partition that is ahead of
* the emitted watermark in the group by more than the maxAllowedWatermarkDrift.
*/
- @Experimental
+ @PublicEvolving
default WatermarkAlignmentParams getAlignmentParameters() {
return WatermarkAlignmentParams.WATERMARK_ALIGNMENT_DISABLED;
}
@@ -164,7 +164,7 @@ public interface WatermarkStrategy<T>
* @param maxAllowedWatermarkDrift Maximal drift, before we pause consuming from the
* source/task/partition
*/
- @Experimental
+ @PublicEvolving
default WatermarkStrategy<T> withWatermarkAlignment(
String watermarkGroup, Duration maxAllowedWatermarkDrift) {
return withWatermarkAlignment(
@@ -187,7 +187,7 @@ public interface WatermarkStrategy<T>
* @param updateInterval How often tasks should notify coordinator about the current watermark
* and how often the coordinator should announce the maximal aligned watermark.
*/
- @Experimental
+ @PublicEvolving
default WatermarkStrategy<T> withWatermarkAlignment(
String watermarkGroup, Duration maxAllowedWatermarkDrift, Duration updateInterval) {
return new WatermarksWithWatermarkAlignment<T>(
[flink] 01/02: [FLINK-32705][connectors/common] Remove the beta for watermark alignment
Posted by fa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
fanrui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 796555ecd30e9eb4aa5b9245d928add337ad41b7
Author: 1996fanrui <19...@gmail.com>
AuthorDate: Thu Jul 27 22:42:01 2023 +0800
[FLINK-32705][connectors/common] Remove the beta for watermark alignment
---
docs/content.zh/docs/dev/datastream/event-time/generating_watermarks.md | 2 +-
docs/content/docs/dev/datastream/event-time/generating_watermarks.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/content.zh/docs/dev/datastream/event-time/generating_watermarks.md b/docs/content.zh/docs/dev/datastream/event-time/generating_watermarks.md
index 5109c5586a6..09f130fa068 100644
--- a/docs/content.zh/docs/dev/datastream/event-time/generating_watermarks.md
+++ b/docs/content.zh/docs/dev/datastream/event-time/generating_watermarks.md
@@ -205,7 +205,7 @@ WatermarkStrategy \
{{< /tab >}}
{{< /tabs >}}
-## Watermark alignment _`Beta`_
+## Watermark alignment
In the previous paragraph we discussed a situation when splits/partitions/shards or sources are idle
and can stall increasing watermarks. On the other side of the spectrum, a split/partition/shard or
diff --git a/docs/content/docs/dev/datastream/event-time/generating_watermarks.md b/docs/content/docs/dev/datastream/event-time/generating_watermarks.md
index 35bbd147127..5e40446410a 100644
--- a/docs/content/docs/dev/datastream/event-time/generating_watermarks.md
+++ b/docs/content/docs/dev/datastream/event-time/generating_watermarks.md
@@ -241,7 +241,7 @@ WatermarkStrategy \
{{< /tab >}}
{{< /tabs >}}
-## Watermark alignment _`Beta`_
+## Watermark alignment
In the previous paragraph we discussed a situation when splits/partitions/shards or sources are idle
and can stall increasing watermarks. On the other side of the spectrum, a split/partition/shard or