-
Notifications
You must be signed in to change notification settings - Fork 27
Updated tp version 1.16 #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
sql-client/Dockerfile
Outdated
| wget -P /opt/sql-client/lib/ https://jdbc.postgresql.org/download/postgresql-42.3.6.jar; \ | ||
| wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-avro-confluent-registry/1.15.0/flink-sql-avro-confluent-registry-1.15.0.jar; \ | ||
| wget -P /opt/sql-client/lib/ https://github.com/knaufk/flink-faker/releases/download/v0.5.0/flink-faker-0.5.0.jar; | ||
| RUN wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-elasticsearch7/1.16.0/flink-sql-connector-elasticsearch7-1.16.0.jar; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| RUN wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-elasticsearch7/1.16.0/flink-sql-connector-elasticsearch7-1.16.0.jar; \ | |
| RUN wget -P /opt/sql-client/lib/ https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-elasticsearch7/3.0.0-1.16/flink-sql-connector-elasticsearch7-3.0.0-1.16.jar; \ |
Since 1.16.0 elasticsearch connector is externalized, IMHO it's better to use externalized version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
snuyanzin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution
lgtm
|
Thanks @sandeep540! However when trying to select from a table built on top of Kafka, I get the following error The same with the 1.15 image works out of the box |
ftisiot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 small error in the Dockerfile was throwing an error
sql-client/Dockerfile
Outdated
| FROM flink:1.16.0-scala_2.12-java11 | ||
|
|
||
| # Create CLI lib folder | ||
| COPY bin/* /opt/sql-client/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error I got was due to copying the sql client from the wrong path, this solves it
| COPY bin/* /opt/sql-client/ | |
| COPY sql-client/bin/* /opt/sql-client/ |
|
Could we also Update the README file with the correct version information? |
ftisiot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! LGTM!
About this change - What it does
Updated to Flink 1.16
Updated to Flink 1.16
Resolves: #22
Why this way
Updated Docker compose to refer local Dockerfile, rather than docker hub, also included flink kafka json jar