-
Notifications
You must be signed in to change notification settings - Fork 13k
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
[FLINK-25532] Improve Documentation of Flink Docker-Compose #18725
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit b97354d (Fri Feb 11 10:27:36 UTC 2022) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
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 PR. Just a couple of minor things, but looking good otherwise.
docs/content/docs/deployment/resource-providers/standalone/docker.md
Outdated
Show resolved
Hide resolved
$ docker run \ | ||
--env ENABLE_BUILT_IN_PLUGINS=flink-plugin1.jar;flink-plugin2.jar \ | ||
flink:{{< stable >}}{{< version >}}-scala{{< scala_version >}}{{< /stable >}}{{< unstable >}}latest{{< /unstable >}} <jobmanager|standalone-job|taskmanager> | ||
<a id="app-cluster-yml">`docker-compose.yml`</a> for *Application Mode*. |
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.
This results in a clickable link, but you can't download or do anything with it.
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.
I think this was only meant as an anchor.
|
||
In Session Mode you use docker-compose to spin up a long-running Flink Cluster to which you can then submit Jobs. | ||
|
||
<a id="session-cluster-yml">`docker-compose.yml`</a> for *Session Mode*: |
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.
Same comment as above
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.
I think this was only meant as an anchor.
### Enabling Python | ||
In this example, you spin up a long-running session cluster and a Flink SQL CLI which uses this clusters to submit jobs to. | ||
|
||
<a id="session-cluster-sql-yaml">`docker-compose.yml`</a> for Flink SQL Client with *Session Cluster*: |
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.
Same comment as above
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.
I think this was only meant as an anchor.
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 fixes, LGTM
…8725) * [FLINK-25532] add Flink SQL Client example to docker-compose docs * [hotfix] restructure docker docs and remove docker swarm
…8725) * [FLINK-25532] add Flink SQL Client example to docker-compose docs * [hotfix] restructure docker docs and remove docker swarm
What is the purpose of the change
This change improves the documentatino of running Flink using docker-compose. In particular, it adds an example using the SQL Client.
Brief change log
(for example:)
Verifying this change