forked from ExpediaGroup/stream-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-dev.yaml
96 lines (84 loc) · 2.87 KB
/
config-dev.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
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
server:
type: simple
applicationContextPath: /
adminContextPath: /private
connector:
type: http
port: 8080
env: local
requestFilterClassNames:
# - com.homeaway.streamplatform.extensions.filters.YourRequestFilter1
# - com.homeaway.streamplatform.extensions.filters.YourRequestFilter2
responseFilterClassNames:
# - com.homeaway.streamplatform.extensions.filters.YourResponseFilter1
# - com.homeaway.streamplatform.extensions.filters.YourResponseFilter2
healthCheckStreamConfig:
name: StreamRegistryHealthCheck
clusterRegion: localRegion
partitions: 1
replicationFactor: 1
streamValidatorConfig:
className: com.homeaway.streamplatform.streamregistry.extensions.validation.DefaultStreamValidator
schemaManagerConfig:
className: com.homeaway.streamplatform.streamregistry.extensions.schema.ConfluentSchemaManager
properties:
schema.registry.url: http://localhost:8081
kafkaProducerConfig:
kafkaProducerProperties:
bootstrap.servers: localhost:9092
acks: all
retries: 4
batch.size: 1
linger.ms: 1
buffer.memory: 33554432
schema.registry.url: http://localhost:8081
kafkaStreamsConfig:
kstreamsProperties:
application.id: stream-registry-streams
bootstrap.servers: localhost:9092
key.serde: io.confluent.kafka.streams.serdes.avro.SpecificAvroSerde
value.serde: io.confluent.kafka.streams.serdes.avro.SpecificAvroSerde
schema.registry.url: http://localhost:8081
replication.factor: 1
num.stream.threads: 2
# WARNING! This config is NOT RECOMMENDED for production. Dev-use only
# recommended overrides in production = replicationFactor: 3
topicsConfig:
eventStoreTopic:
name: _streamregistry_streams_v0.1
partitions: 1
replicationFactor: 1
properties:
cleanup.policy: compact
min.insync.replicas: 1
stateStoreName: _streamregistry_streams_kv_v0.1
infraManagerConfig:
className: com.homeaway.streamplatform.streamregistry.provider.impl.KafkaInfraManager
config:
infraManagerTopic: _streamregistry_infra_v0.1
infraManagerStateStoreName: _streamregistry_infra_kv_v0.1
infraKStreamsProperties:
application.id: stream-registry-infra
bootstrap.servers: localhost:9092
key.serde: io.confluent.kafka.streams.serdes.avro.SpecificAvroSerde
value.serde: io.confluent.kafka.streams.serdes.avro.SpecificAvroSerde
schema.registry.url: http://localhost:8081
replication.factor: 1
logging:
level: INFO
loggers:
com.homeaway: DEBUG
appenders:
- type: console
logFormat: "[%d{HH:mm:ss.SSS}] [%t] %-6level %logger{5} - %msg %n"
swagger:
resourcePackage: com.homeaway.streamplatform.streamregistry.resource
title: Stream Registry API
version: v0
description: Stream Registry API
contact: [email protected]
scan: true
httpClient:
timeout: 10000ms
connectionTimeout: 10000ms
connectionRequestTimeout: 10000ms