-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make windows top N test result deterministic * upgrade Flink to 1.19
- Loading branch information
1 parent
7f78c3b
commit d7c1a7e
Showing
26 changed files
with
549 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM flink:1.19.1-scala_2.12-java11 | ||
|
||
# Download connector libraries | ||
RUN wget -P /opt/flink/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-kafka/3.2.0-1.19/flink-sql-connector-kafka-3.2.0-1.19.jar; \ | ||
wget -P /opt/flink/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-json/1.19.1/flink-json-1.19.1.jar; \ | ||
wget -P /opt/flink/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-avro-confluent-registry/1.19.1/flink-sql-avro-confluent-registry-1.19.1.jar; | ||
|
||
# Copy configuration | ||
COPY ./conf/* /opt/flink/conf/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM flink:1.19.1-scala_2.12-java11 | ||
|
||
# Create CLI lib folder | ||
#COPY ./bin/* /opt/sql-client/ | ||
RUN mkdir -p /opt/sql-client/lib | ||
|
||
# Download connector libraries | ||
RUN wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-kafka/3.2.0-1.19/flink-sql-connector-kafka-3.2.0-1.19.jar; \ | ||
wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-json/1.19.1/flink-json-1.19.1.jar; \ | ||
wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-avro-confluent-registry/1.19.1/flink-sql-avro-confluent-registry-1.19.1.jar; | ||
|
||
# Also copy to Flink lib so that, e.g., other catalog types can be used if desired | ||
RUN cp /opt/sql-client/lib/* /opt/flink/lib/ | ||
|
||
# Copy configuration | ||
COPY ./conf/* /opt/flink/conf/ | ||
|
||
WORKDIR /opt/sql-client | ||
ENV SQL_CLIENT_HOME=/opt/sql-client | ||
|
||
COPY ./docker-entrypoint.sh / | ||
ENTRYPOINT ["/docker-entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FLINK_VERSION ?= 1.19.1-scala_2.12-java17 | ||
BUILD_PLATFORM ?= linux/amd64 | ||
PUSH_PREFIX ?= cnfldemos | ||
|
||
build-flink-kafka: | ||
@docker buildx build --load --platform $(BUILD_PLATFORM) -t flink-kafka:$(FLINK_VERSION) -f Dockerfile.flink-kafka . | ||
|
||
build-flink-sql-client-kafka: | ||
@docker buildx build --load --platform $(BUILD_PLATFORM) -t flink-sql-client-kafka:$(FLINK_VERSION) -f Dockerfile.flink-sql-client-kafka . | ||
|
||
push-flink-kafka: | ||
@docker buildx build --push --platform linux/amd64,linux/arm64 -t $(PUSH_PREFIX)/flink-kafka:$(FLINK_VERSION) -f Dockerfile.flink-kafka . | ||
|
||
push-flink-sql-client-kafka: | ||
@docker buildx build --push --platform linux/amd64,linux/arm64 -t $(PUSH_PREFIX)/flink-sql-client-kafka:$(FLINK_VERSION) -f Dockerfile.flink-sql-client-kafka . |
Oops, something went wrong.