Skip to content

Commit 8341211

Browse files
authored
Merge pull request #53 from piotrpdev/docs/second-tutorial-small-fixes
Second tutorial small fixes
2 parents 5548471 + 31595d3 commit 8341211

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/interactive-etl/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In order to run this example you will need:
5050
1. Deploy a [Flink session cluster](https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/custom-resource/overview/#session-cluster-deployments) (used for long-running, multipurpose deployments) using the [Flink Kubernetes Operator](https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/):
5151

5252
```shell
53-
kubectl apply -f interactive-etl/flink-session-cluster.yaml
53+
kubectl -n flink apply -f interactive-etl/flink-session.yaml
5454
```
5555

5656
## Interactive SQL client
@@ -159,8 +159,8 @@ WHERE quantity >= 3;
159159
```
160160
161161
This might take a little while to show, there aren't many people buying lots of units.
162-
Ok, lets find the true big spenders.
163-
User IDs for users who buy 3 or more items over 500 GBP:
162+
Next, lets find the popular products which are also expensive.
163+
Product IDs for products that cost more than £500 and which someone bought at least 3 units of at once:
164164

165165
```sql
166166
SELECT
@@ -336,11 +336,11 @@ The ETL query (deployed above) will run like any other Flink streaming job and c
336336
However, your session Flink cluster might primarily be for data exploration and development, which means your ETL job would be competing for resources with other queries.
337337
If your transformed data is needed in production, it would be better to deploy the query as a stand-alone Flink Job independent of the session Flink cluster.
338338

339-
There is an example FlinkDeployment CR (`standalone-etl-deployment.yaml`) in this directory that will deploy the queries above in Flink's application mode.
339+
There is an example FlinkDeployment CR (`standalone-etl-deployment.yaml`) that will deploy the queries above in Flink's application mode.
340340
This will deploy the ETL query in a self-contained Flink cluster that can be managed like any other FlinkDeployment.
341341
342342
```shell
343-
kubectl -n flink apply -f standalone-etl-deployment.yaml
343+
kubectl -n flink apply -f interactive-etl/standalone-etl-deployment.yaml
344344
```
345345
346346
Once you know that is running (`kubectl -n flink get pods`), you can see the cleaned data in Kafka by querying the new output topic (this has a different name to the one used in the interactive demo):

0 commit comments

Comments
 (0)