-
Notifications
You must be signed in to change notification settings - Fork 38
/
manifest.yaml
29 lines (29 loc) · 952 Bytes
/
manifest.yaml
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
applications:
- name: spring-kafka-avro
instances: 1
random-route: true
buildpacks:
- java_buildpack_offline
path: target/kafka-workshop-0.0.1-SNAPSHOT.jar
memory: 1G
services:
- cp
env:
# CF convention
SPRING_PROFILES_ACTIVE: cloud
JAVA_OPTS: '-Dloader.main=io.confluent.developer.kafkaworkshop.avro.KafkaWorkshopApplication'
JBP_CONFIG_JAVA_MAIN: '{java_main_class: org.springframework.boot.loader.PropertiesLauncher}'
- name: spring-kafka-streams
instances: 1
no-route: true
buildpacks:
- java_buildpack_offline
path: target/kafka-workshop-0.0.1-SNAPSHOT.jar
memory: 1G
services:
- cp
env:
# CF convention
SPRING_PROFILES_ACTIVE: cloud
JAVA_OPTS: '-Dloader.main=io.confluent.developer.kafkaworkshop.streams.KafkaStreamsApp'
JBP_CONFIG_JAVA_MAIN: '{java_main_class: org.springframework.boot.loader.PropertiesLauncher}'