-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcommon.conf
More file actions
74 lines (70 loc) · 1.68 KB
/
common.conf
File metadata and controls
74 lines (70 loc) · 1.68 KB
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
pulsar {
host = "localhost"
host = ${?PULSAR_HOST}
port = 6650
port = ${?PULSAR_PORT}
consumer {
enabled=true
topic=""
topic=${?PULSAR_CONSUMER_TOPIC}
subscription=""
subscription=${?PULSAR_CONSUMER_SUBSCRIPTION}
#Consume multiple topics:
multipleTopics=false
multipleTopics=${?PULSAR_CONSUMER_ENABLE_MULTIPLE_TOPICS}
topics=""
topics=${?PULSAR_CONSUMER_TOPICS}
topicsPattern=""
topicsPattern=${?PULSAR_CONSUMER_MULTIPLE_TOPICS_PATTERN}
#Options for type: Exclusive, Shared, Failover
subscriptionType="Exclusive"
subscriptionType=${?PULSAR_CONSUMER_SUBSCRIPTION_TYPE}
queueSize=1000
queueSize=${?PULSAR_CONSUMER_QUEUE_SIZE}
cursor {
resetToLatest=false
resetToLatest=${?PULSAR_CONSUMER_CURSOR_RESET_TO_LATEST}
}
}
producer {
enabled=true
topic=""
topic=${?PULSAR_PRODUCER_TOPIC}
queueSize=1000
queueSize=${?PULSAR_PRODUCER_QUEUE_SIZE}
multipleProducers=false
multipleProducers=${?PULSAR_PRODUCER_ENABLE_MULTIPLE_PRODUCERS}
topics=""
topics=${?PULSAR_PRODUCER_TOPICS}
blockIfFull=true
blockIfFull=${?PULSAR_PRODUCER_BLOCK_IF_FULL}
}
admin {
enabled=false
host="localhost"
host=${?PULSAR_ADMIN_HOST}
port = 8080
port = ${?PULSAR_ADMIN_PORT}
}
}
redis {
enabled=false
host="localhost"
host=${?REDIS_HOST}
port=6379
port=${?REDIS_PORT}
ttlSeconds=0
ttlSeconds=${?REDIS_TTL_SECONDS}
}
health {
enabled=false
enabled=${?HEALTH_ENABLED}
port=8090
port=${?HEALTH_PORT}
endpoint="/health"
endpoint=${?HEALTH_ENDPOINT}
}
gtfsrt {
serviceDayStartTime="04:30:00"
serviceDayStartTime=${?GTFSRT_SERVICE_DAY_START_TIME}
}