Skip to content

Commit

Permalink
[doc] Factor out flink version to docs config, bump it (apache#4108)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaygorodov authored Sep 2, 2024
1 parent 7aa0cbd commit 16734b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ pygmentsUseClasses = true
# The branch for this version of Apache Paimon
Branch = "master"

# The most recent supported Apache Flink version
FlinkVersion = "1.20"

# The github repository for Apache Paimon
Repo = "//github.com/apache/paimon"

Expand Down
8 changes: 4 additions & 4 deletions docs/content/program-api/flink-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@ Maven dependency:
```xml
<dependency>
<groupId>org.apache.paimon</groupId>
<artifactId>paimon-flink-1.17</artifactId>
<artifactId>paimon-flink-{{< param FlinkVersion >}}</artifactId>
<version>{{< version >}}</version>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-api-java-bridge</artifactId>
<version>1.17.0</version>
<version>{{< param FlinkVersion >}}.0</version>
<scope>provided</scope>
</dependency>
```

Or download the jar file:
{{< stable >}}[Paimon Flink](https://repo.maven.apache.org/maven2/org/apache/paimon/paimon-flink-1.17/{{< version >}}/paimon-flink-1.17-{{< version >}}.jar).{{< /stable >}}
{{< unstable >}}[Paimon Flink](https://repository.apache.org/snapshots/org/apache/paimon/paimon-flink-1.17/{{< version >}}/).{{< /unstable >}}
{{< stable >}}[Paimon Flink](https://repo.maven.apache.org/maven2/org/apache/paimon/paimon-flink-{{< param FlinkVersion >}}/{{< version >}}/paimon-flink-{{< param FlinkVersion >}}-{{< version >}}.jar).{{< /stable >}}
{{< unstable >}}[Paimon Flink](https://repository.apache.org/snapshots/org/apache/paimon/paimon-flink-{{< param FlinkVersion >}}/{{< version >}}/).{{< /unstable >}}

Please choose your Flink version.

Expand Down

0 comments on commit 16734b8

Please sign in to comment.