-
Notifications
You must be signed in to change notification settings - Fork 90
/
kafka.yml
142 lines (121 loc) · 4.51 KB
/
kafka.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
answer:
steps:
- title:
content:
- action: skip
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/answer/produce.adoc
- title:
content:
- action: skip
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/answer/consume.adoc
dev:
steps:
- title: Prerequisites
content:
- action: skip
render:
file: shared/markup/dev/docker-prerequisite.adoc
- title: Initialize the project
content:
- action: execute
file: tutorial-steps/dev/init.sh
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/init.adoc
- title: Get Confluent Platform
content:
- change_directory: console-consumer-producer-basic
action: make_file
file: docker-compose.yml
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/make-docker-compose.adoc
- action: execute_async
file: tutorial-steps/dev/docker-compose-up.sh
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/start-compose.adoc
- action: execute
file: tutorial-steps/dev/wait-for-containers.sh
render:
skip: true
- title: Create the Kafka topic
content:
- action: execute
file: tutorial-steps/dev/create-topic.sh
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/create-topic.adoc
- title: Start a console consumer
content:
- action: execute_async
file: tutorial-steps/dev/harness-console-consumer.sh
stdout: tutorial-steps/dev/outputs/actual-output-step-one.txt
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/consume-topic.adoc
- title: Produce your first records
content:
- action: execute
file: tutorial-steps/dev/harness-console-producer.sh
stdin: tutorial-steps/dev/input-step-one.txt
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/produce-topic.adoc
- name: wait for consumer to read records
action: sleep
ms: 5000
render:
skip: true
- title: Read all records
content:
- action: execute
file: tutorial-steps/dev/harness-console-producer.sh
stdin: tutorial-steps/dev/input-step-two.txt
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/produce-topic-from-beginning.adoc
- title: Start a new consumer to read all records
content:
- action: execute_async
file: tutorial-steps/dev/harness-console-consumer-from-beginning.sh
stdout: tutorial-steps/dev/outputs/actual-output-step-two.txt
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/consume-topic-from-beginning.adoc
- name: wait for consumer to read records
action: sleep
ms: 10000
render:
skip: true
- title: Produce records with full key-value pairs
content:
- action: execute
file: tutorial-steps/dev/harness-console-producer-keys.sh
stdin: tutorial-steps/dev/input-step-three.txt
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/produce-topic-keys-values.adoc
- title: Start a consumer to show full key-value pairs
content:
- action: execute_async
file: tutorial-steps/dev/harness-console-consumer-keys.sh
stdout: tutorial-steps/dev/outputs/actual-output-step-three.txt
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/consume-topic-key-value.adoc
- name: wait for consumer to read records
action: sleep
ms: 5000
render:
skip: true
- title: Clean Up
content:
- action: execute
file: tutorial-steps/dev/clean-up.sh
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/dev/clean-up.adoc
ccloud:
steps:
- title: Run your app with Confluent Cloud
content:
- action: skip
render:
file: shared/markup/ccloud/try-ccloud.adoc
- title: See other documentation
content:
- action: skip
render:
file: tutorials/console-consumer-producer-basic/kafka/markup/ccloud/doc-out.adoc