-
Notifications
You must be signed in to change notification settings - Fork 2
/
application.yml
104 lines (99 loc) · 2.93 KB
/
application.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
app:
version: 2.2.3
spring:
application:
name: fhir-to-server
profiles:
active: dev
kafka:
bootstrapServers: ${BOOTSTRAP_SERVERS}
security.protocol: ${SECURITY_PROTOCOL:PLAINTEXT}
ssl:
trust-store-type: PKCS12
trust-store-location: file://${SSL_TRUST_STORE:/opt/kafka-certs/ca.p12}
trust-store-password: ${SSL_TRUST_STORE_PASSWORD}
key-store-type: PKCS12
key-store-location: file://${SSL_KEY_STORE_FILE:/opt/kafka-certs/user.p12}
key-store-password: ${SSL_KEY_STORE_PASSWORD}
consumer:
properties:
allow.auto.create.topics: ${AUTO_CREATE_TOPICS:false}
fetch.max.wait.ms: ${FETCH_MAX_WAIT_MS:10000}
retry.backoff.ms: ${RETRY_BACKOFF_MS:5000}
max.poll.records: ${MAX_POLL_RECORDS:500}
max.poll.interval.ms: ${MAX_POLL_INTERVAL_MS:300000}
max.request.size: ${MAX_REQUEST_SIZE:1048576}
request.timeout.ms: ${REQUEST_TIMEOUT_MS:900000}
cloud:
function:
definition: sink
stream:
bindings:
sink-in-0:
consumer:
concurrency: ${CONSUMER_CONCURRENCY:1}
# this can't be set to `false` unless we change the signature of the
# `sink` method since it currently receives a List<> instead of a single
# record.
batch-mode: true
use-native-decoding: true
destination: ${TOPIC:fhir-msg}
group: ${GROUP_ID:fhir-to-server}
kafka:
default:
consumer:
enableDlq: true
dlqProducerProperties:
configuration:
key.serializer: org.springframework.kafka.support.serializer.JsonSerializer
value.serializer: org.miracum.kafka.serializers.KafkaFhirSerializer
bindings:
sink-in-0:
consumer:
configuration:
value.deserializer: org.miracum.kafka.serializers.KafkaFhirDeserializer
main:
banner-mode: off
management:
endpoint:
health:
show-details: always
probes:
enabled: true
endpoints:
web:
exposure:
include: "*"
health:
livenessstate:
enabled: true
readinessstate:
enabled: true
fhir:
filter:
expression: ""
override-bundle-type-with: ""
url: ""
auth:
basic:
enabled: false
username: ""
password: ""
http-timeout-seconds: 60
merge-batches-into-single-bundle:
enabled: false
entry-uniqueness-fhirpath-expression: "request.url.toString()"
bundle-max-size: null
s3:
enabled: false
endpoint-url: ""
access-key: ""
secret-key: ""
bucket-name: "fhir"
object-name-prefix: ""
region: "eu-central-1"
force-path-style: true
timeout-seconds: 120
logging:
pattern:
console: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:%5p}) %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m %X %n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}"