-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.example.yaml
53 lines (49 loc) · 1.75 KB
/
config.example.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
# Number of worker processes to spawn.
# Set to 0 to run everything in a single process without clustering.
# Use 'ncpu' to run as many workers as there are CPU units
num_workers: 1
# Log error messages and gracefully restart a worker if v8 reports that it
# uses more heap (note: not RSS) than this many mb.
worker_heap_limit_mb: 150
# Logger info
logging:
name: changeprop
level: info
metrics:
type: log
services:
- name: changeprop
# a relative path or the name of an npm package, if different from name
module: hyperswitch
# optionally, a version constraint of the npm package
# version: ^0.4.0
# per-service config
conf:
# the port to bind to
port: 7272
# IP address to bind to, all IPs by default
# interface: localhost # uncomment to only listen on localhost
# allow cross-domain requests to the API (default '*')
cors: '*'
# to disable use:
# cors: false
# to restrict to a particular domain, use:
# cors: restricted.domain.org
# URL of the outbound proxy to use (complete with protocol)
# proxy:
spec:
title: The Change Propagation root
paths:
/{domain:a}/sys/queue:
x-modules:
- path: sys/kafka.js
options:
metadata_broker_list: 127.0.0.1:9092
dc_name: default
concurrency: 10
templates: {}
# Useful for mirroring the propagation of events in a test
# environment; test_mode does the following: a) disables
# production entirely to prevent enqueuing retries, b) alters
# the consumer group ID, and c) disables offset commits.
test_mode: false