This is an automated email from the ASF dual-hosted git repository.

mbalassi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new d3d8ae42839 [FLINK-34657] add lineage provider API (#24619)
d3d8ae42839 is described below

commit d3d8ae428397794683e5ba05c5ca70622da99e5e
Author: Peter Huang <[email protected]>
AuthorDate: Fri Apr 5 08:48:53 2024 -0700

    [FLINK-34657] add lineage provider API (#24619)
---
 .../api/lineage/LineageVertexProvider.java         | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git 
a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/lineage/LineageVertexProvider.java
 
b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/lineage/LineageVertexProvider.java
new file mode 100644
index 00000000000..1819a33b7f5
--- /dev/null
+++ 
b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/lineage/LineageVertexProvider.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.apache.flink.streaming.api.lineage;
+
+import org.apache.flink.annotation.PublicEvolving;
+
+/**
+ * Create lineage vertex for source and sink in DataStream. If the source and 
sink connectors in
+ * datastream job implement this interface, flink will get lineage vertex and 
create all-to-all
+ * lineages between sources and sinks by default.
+ */
+@PublicEvolving
+public interface LineageVertexProvider {
+    LineageVertex getLineageVertex();
+}

Reply via email to