Skip to content

Instantly share code, notes, and snippets.

@ottomata
Last active January 16, 2024 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ottomata/ae2b8d5477f9991c15b21bdfed24fe09 to your computer and use it in GitHub Desktop.
Save ottomata/ae2b8d5477f9991c15b21bdfed24fe09 to your computer and use it in GitHub Desktop.
cd ~/
mkdir flink-sql-libs
cd flink-sql-libs/
wget https://repo1.maven.org/maven2/org/apache/flink/flink-connector-kafka/1.17.2/flink-connector-kafka-1.17.2.jar
wget https://repo1.maven.org/maven2/org/apache/kafka/kafka-clients/3.4.0/kafka-clients-3.4.0.jar
# Only need this if querying WMF event streams.
# https://wikitech.wikimedia.org/wiki/Event_Platform/Stream_Processing/Flink_Catalog#Creating_Tables
# wget https://archiva.wikimedia.org/repository/releases/org/wikimedia/eventutilities-flink/1.3.3/eventutilities-flink-1.3.3-jar-with-dependencies.jar
# download flink
cd ~/
wget https://dlcdn.apache.org/flink/flink-1.17.2/flink-1.17.2-bin-scala_2.12.tgz
tar -xvzf flink-1.17.2-bin-scala_2.12.tgz
cd flink-1.17.2
./bin/sql-client.sh -l ~/flink-sql-libs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment