Files
cybertron/configs/application.yml
2024-09-10 10:04:08 +05:30

85 lines
1.7 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
elastic:
addresses: https://office-server.tail3fba9.ts.net:9200
username: elastic
password: 9457611267
index: cybertron
api_key: SFQ1aHhwRUJWRVNkVUlrRWZMYWk6ZFpDTnpWYXdTNDYwdGt1QzlaRV9YQQ==
aws:
region: ap-south-1
bucket: navi-cd955a63c4476df0f00c1cea0e4a40d1
mjolnir:
service.url: https://qa-mjolnir-service.np.navi-ppl.in
realm.id: O3G7sCWk4r