Aiven-Open / sql-cli-for-apache-flink-docker

SQL CLI for Apache Flink® via docker-compose
Apache License 2.0
47 stars 25 forks source link

Upgrade to Java 11 #15

Closed TibsAtWork closed 2 years ago

TibsAtWork commented 2 years ago

About this change - What it does

Upgrade from Java 8 to Java 11

  1. Change from Java 8 to Java 11
  2. Keep Scala at 2.12
  3. Upgrade Flink from 1.14.3 to 1.14.4
  4. Use a new flink_sql-cli image built from the new sql-client spec

Why this way

I wanted to use the SQL CLI for Flink to test https://github.com/aiven/slack-connector-for-apache-flink, but I had problems installing Java 8 on my Mac M1, and also the slack connector seemed to want a later version of Java. Since Java 11 is the default installed on my Mac by homebrew, that is what I chose.

With these changes, I was able to successfully use the SQL queries as documented for the slack connector.

ftisiot commented 2 years ago

Just added the support for Flink 1.15 on a separate branch and tested, closing this but thanks for the contribution!