-
Notifications
You must be signed in to change notification settings - Fork 1
/
application.yaml
65 lines (65 loc) · 1.66 KB
/
application.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
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
---
logging:
level:
io.github.otaviof: TRACE
ravine:
startup:
timeoutMs: 60000
checkIntervalMs: 1500
cache:
maximumSize: 2500
expireMs: 15000
kafka:
schemaRegistryUrl: http://schemaregistry.localtest.me:8681
brokers: kafka.localtest.me:9092
properties:
retry.backoff.ms: 150
routes:
- name: get-endpoint-example
endpoint:
path: /v1/group/app/action/get
methods:
- get
response:
httpCode: 200
contentType: application/json
request:
topic: kafka_get_request_topic
valueSerde: io.confluent.kafka.streams.serdes.avro.GenericAvroSerializer
timeoutMs: 5000
response:
topic: kafka_get_response_topic
timeoutMs: 10000
- name: post-endpoint-example
endpoint:
path: /v1/group/app/action/post
methods:
- post
response:
httpCode: 200
contentType: application/json
subject:
name: person
request:
topic: kafka_request_topic
valueSerde: io.confluent.kafka.streams.serdes.avro.GenericAvroSerializer
timeoutMs: 5000
response:
topic: kafka_response_topic
timeoutMs: 10000
- name: put-endpoint-example
endpoint:
path: /v1/group/app/action/put
methods:
- put
response:
httpCode: 201
contentType: application/json
body: |
{ "msg": "record created!" }
subject:
name: person
request:
topic: kafka_dump_topic
timeoutMs: 5000
valueSerde: io.confluent.kafka.streams.serdes.avro.GenericAvroSerializer