forked from confluentinc/kafka-tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ksql.yml
120 lines (102 loc) · 3.91 KB
/
ksql.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
dev:
steps:
- title: Initialize the project
content:
- action: execute
file: tutorial-steps/dev/init.sh
render:
file: tutorials/aggregating-sum/ksql/markup/dev/init.adoc
- change_directory: aggregate-sum
action: execute
file: tutorial-steps/dev/make-dirs.sh
render:
file: tutorials/aggregating-sum/ksql/markup/dev/make-dirs.adoc
- title: Get Confluent Platform
content:
- action: make_file
file: docker-compose.yml
render:
file: tutorials/aggregating-sum/ksql/markup/dev/make-docker-compose.adoc
- action: execute_async
file: tutorial-steps/dev/docker-compose-up.sh
render:
file: tutorials/aggregating-sum/ksql/markup/dev/start-compose.adoc
- action: execute
file: tutorial-steps/dev/wait-for-containers.sh
render:
skip: true
- title: Write the program interactively using the CLI
content:
- action: docker_ksql_cli_session
container: ksqldb-cli
docker_bootup_file: tutorial-steps/dev/start-cli.sh
column_width: 20
render:
file: tutorials/aggregating-sum/ksql/markup/dev/start-cli.adoc
stdin:
- file: tutorial-steps/dev/create-movie-ticket-sales.sql
render:
file: tutorials/aggregating-sum/ksql/markup/dev/create-movie-ticket-sales.adoc
- file: tutorial-steps/dev/populate-movie-ticket-sales.sql
render:
file: tutorials/aggregating-sum/ksql/markup/dev/populate-movie-ticket-sales.adoc
- file: tutorial-steps/dev/set-properties_offset.sql
render:
file: tutorials/aggregating-sum/ksql/markup/dev/set-properties_offset.adoc
- file: tutorial-steps/dev/set-properties_buffer.sql
render:
file: tutorials/aggregating-sum/ksql/markup/dev/set-properties_buffer.adoc
- file: tutorial-steps/dev/transient-query.sql
render:
file: tutorials/aggregating-sum/ksql/markup/dev/transient-query.adoc
- file: tutorial-steps/dev/persistent-query.sql
render:
file: tutorials/aggregating-sum/ksql/markup/dev/persistent-query.adoc
- file: tutorial-steps/dev/print-output-topic.sql
render:
file: tutorials/aggregating-sum/ksql/markup/dev/print-output-topic.adoc
stdout:
directory: tutorial-steps/dev/outputs
- title: Write your statements to a file
content:
- action: make_file
file: src/statements.sql
render:
file: tutorials/aggregating-sum/ksql/markup/dev/make-src-file.adoc
test:
steps:
- title: Create the test data
content:
- action: make_file
file: test/input.json
render:
file: tutorials/aggregating-sum/ksql/markup/test/make-test-input.adoc
- action: make_file
file: test/output.json
render:
file: tutorials/aggregating-sum/ksql/markup/test/make-test-output.adoc
- title: Invoke the tests
content:
- action: execute
file: tutorial-steps/test/run-tests.sh
stdout: tutorial-steps/test/outputs/test-results.log
render:
file: tutorials/aggregating-sum/ksql/markup/test/run-tests.adoc
prod:
steps:
- title: Send the statements to the REST API
content:
- action: skip
render:
file: tutorials/aggregating-sum/ksql/markup/prod/submit-to-api.adoc
- action: execute
file: tutorial-steps/dev/clean-up.sh
render:
skip: true
ccloud:
steps:
- title: Run your app to Confluent Cloud
content:
- action: skip
render:
file: shared/markup/ccloud/try-ccloud.adoc