๐Ÿ“ฆ cshuo / flink-managed-table-demo

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/cshuo/flink-managed-table-demo.git
HTTPS git clone https://github.com/cshuo/flink-managed-table-demo.git
SSH git clone git@github.com:cshuo/flink-managed-table-demo.git
CLI gh repo clone cshuo/flink-managed-table-demo
shuo.cs shuo.cs update f45674e 4 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ datagen
๐Ÿ“ images
๐Ÿ“„ .gitignore
๐Ÿ“„ docker-compose.yml
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Build Image For Flink Manged Table Demo

Flink image

  • Build the flink jar
  • Copy jars in $FLINK/lib into ./flink-managed-table-demo/images/flink/lib/
  • Copy jars in $FLINK/opt into ./flink-managed-table-demo/images/flink/opt/
  • Copy connector/format and table-storage jars into ./flink-managed-table-demo/images/flink/connector_jar/
  • Build Flink image: docker build -t flink:$FLINK_VERSION

Sql Client image

  • Modify images/sql-client/Dockerfile, substitute $FLINK_VERSION with the version built above
  • Build sql-client image: docker build -t sql-client:$CLIENT_VERSION

DataGen image

  • Build the jar from source ./flink-managed-table-demo/datagen
  • Copy jar to ./flink-managed-table-demo/images/datagen/datagen.jar, and build image: docker build -t datagen:$DATAGEN_VERSION