-
Notifications
You must be signed in to change notification settings - Fork 18
/
rest_pubsub_defaults.yaml
18 lines (18 loc) · 1.42 KB
/
rest_pubsub_defaults.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Http connection timout (used by both the web service and the backend)
bullet.pubsub.rest.connect.timeout.ms: 5000
# Http connection retry limit (used by both the web service and the backend)
bullet.pubsub.rest.connect.retry.limit: 3
# Maxiumum number of uncommitted messages allowed before read requests will wait for commits (used by both the web service and the backend)
bullet.pubsub.rest.subscriber.max.uncommitted.messages: 100
# Minimum time (ms) between http calls to the result subscriber REST endpoint. This can be used to limit the number of http requests to the REST endpoints
bullet.pubsub.rest.result.subscriber.min.wait.ms: 10
# Minimum time (ms) between http calls to the query subscriber REST endpoint. This can be used to limit the number of http requests to the REST endpoints
bullet.pubsub.rest.query.subscriber.min.wait.ms: 10
# The uri of the result http endpoint (this is only used in the web service - the backend loads the uri from the message metadata)
bullet.pubsub.rest.result.url: "http://localhost:9901/api/bullet/pubsub/result"
# A list of url(s) for the query endpoint. In the web service, this should contain a single URL for the query endpoint
# of the in-memory pubsub instance running on that web service. For the backend it should contain the urls of all
# the pubsub instances.
bullet.pubsub.rest.query.urls:
- "http://localhost:9901/api/bullet/pubsub/query"
- "http://localhost:9902/api/bullet/pubsub/query"