70 lines
1.3 KiB
YAML
70 lines
1.3 KiB
YAML
port: 9000
|
|
name: cybertron
|
|
env: local
|
|
metrics:
|
|
port: 4001
|
|
timezone: Asia/Kolkata
|
|
|
|
#DB config
|
|
db:
|
|
connection:
|
|
max:
|
|
lifetime: 3600s
|
|
idle:
|
|
time: 300s
|
|
connections:
|
|
max:
|
|
idle: 10
|
|
open: 300
|
|
username: postgres
|
|
password: admin
|
|
host: localhost
|
|
port: 5432
|
|
name: cybertron_dev
|
|
ssl:
|
|
mode: disable
|
|
|
|
#Prometheus config
|
|
prometheus:
|
|
app.name: cybertron
|
|
host: localhost
|
|
port: 4001
|
|
enabled: true
|
|
timeout: 10
|
|
flush.interval.in.ms: 200
|
|
histogram.buckets: 50.0,75.0,90.0,95.0,99.0
|
|
|
|
http:
|
|
max:
|
|
idle.connection.pool: 200
|
|
connection: 200
|
|
idle.timeout.seconds: 10
|
|
|
|
# Kafka config
|
|
kafka:
|
|
password: kDia1uC.GI;)Al5eQ)+Q
|
|
username: varnitgoyal/varnitgoyal95@gmail.com/ocid1.streampool.oc1.ap-mumbai-1.amaaaaaaotdslraanepwp54txqqxkmg4l6dghrhufiezqkx2lqhndgxoq7pa
|
|
brokers: cell-1.streaming.ap-mumbai-1.oci.oraclecloud.com:9092
|
|
group:
|
|
names: {"kafka-stream": "kafka-stream"}
|
|
topics: {"kafka-stream": "kafka-stream"}
|
|
tls:
|
|
insecureSkipVerify: true
|
|
enabled: false
|
|
sasl:
|
|
enabled: true
|
|
consumer:
|
|
batch.size: 1
|
|
goroutines.max.pool.size: 20
|
|
max.timeout.ms: 300
|
|
auto.offset.reset: latest
|
|
|
|
|
|
#document service conf
|
|
DocumentService:
|
|
baseurl: DOCUMENT_SERVICE_BASEURL
|
|
mock:
|
|
generate_token: DOCUMENT_SERVICE_MOCK_GENERATE_TOKEN
|
|
|
|
|