-
Notifications
You must be signed in to change notification settings - Fork 3
/
application-group.yml
27 lines (26 loc) · 1.16 KB
/
application-group.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
# The 'apps' section translates directly into 'dataflow:>app import --uri ...'
# Each app listed will be imported as part of this application group.
# See http://docs.spring.io/spring-cloud-dataflow/docs/current/reference/html/spring-cloud-dataflow-register-apps.html
apps:
- name: time-source
type: source
uri: time-source-kafka
- name: timezone-processor
type: processor
uri: timezone-processor-kafka
- name: log-sink
type: sink
uri: log-sink-kafka
- name: file-sink
type: sink
uri: file-sink-kafka
# The 'stream' section translates directly into 'dataflow:>stream create ...'
# Each stream listed below will be created and deployed.
# See the 'deploymentProperties' section under the 'spring-cloud-dataflow-maven-plugin'
# configuration section in the 'pom.xml.'
# See http://docs.spring.io/spring-cloud-dataflow/docs/current/reference/html/spring-cloud-dataflow-create-stream.html
stream:
- name: timely-stream
dsl: time-source | timezone-processor --timezone=Africa/Johannesburg | log-sink
- name: timely-file-tap
dsl: :timely-stream.timezone-processor > file-sink --file.directory=/tmp --file.mode=APPEND --file.name=times