Files
cybertron/configs/application.yml
Varnit Goyal 161750b56a TP-5555 | elastic fix (#30)
* TP-5555 | elastic fix

* TP-5555 | elastic fix

---------

Co-authored-by: varnit goyal <github.cicd@navi.com>
2024-10-14 14:53:18 +05:30

90 lines
1.5 KiB
YAML

port: PORT
name: NAME
env: ENV
metrics:
port: METRICS_PORT
timezone: Asia/Kolkata
#DB config
db:
connection:
max:
lifetime: 3600s
idle:
time: 300s
connections:
max:
idle: 10
open: 300
username: DB_USERNAME
password: DB_PASSWORD
host: DB_HOST
port: 5432
name: DB_NAME
ssl:
mode: disable
#Prometheus config
prometheus:
app.name: PROMETHEUS_APP_NAME
host: PROMETHEUS_HOST
port: PROMETHEUS_POST
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: KAFKA_PASSWORD
username: KAFKA_USERNAME
brokers: KAFKA_BROKERS
group:
names: KAFKA_GROUP
topics: KAFKA_TOPICS
tls:
insecureSkipVerify: true
enabled: false
sasl:
enabled: true
mechanism: KAFKA_SASL_MECHANISM
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: ELASTIC_ADDRESSES
username: ELASTIC_USERNAME
password: ELASTIC_PASSWORD
index: ELASTIC_INDEX
api_key: ELASTIC_API_KEY
aws:
region: AWS_REGION
bucket: AWS_BUCKET
mjolnir:
service.url: MJOLNIR_SERVICE_URL
realm: MJOLNIR_REALM
houston:
service.url: HOUSTON_SERVICE_URL
realm.id: HOUSTON_REALM_ID