modelRT/config/config.yaml

42 lines
786 B
YAML
Raw Normal View History

2024-11-28 11:46:40 +08:00
postgres:
host: "192.168.2.156"
2024-11-28 11:46:40 +08:00
port: 5432
database: "circuit_diagram"
2024-11-28 11:46:40 +08:00
user: "postgres"
password: "coslight"
2024-11-28 11:46:40 +08:00
kafka:
servers: "localhost:9092"
port: 9092
group_id: "modelRT"
topic: ""
auto_offset_reset: "earliest"
enable_auto_commit: "false"
read_message_time_duration: ”0.5s"
2024-11-28 11:46:40 +08:00
# influxdb:
# host: "localhost"
# port: "8086"
# token: "lCuiQ316qlly3iFeoi1EUokPJ0XxW-5lnG-3rXsKaaZSjfuxO5EaZfFdrNGM7Zlrdk1PrN_7TOsM_SCu9Onyew=="
# org: "coslight"
# bucket: "wave_record"
2024-11-28 11:46:40 +08:00
# zap logger config
logger:
mode: "development"
level: "debug"
filepath: "/home/douxu/log/wave_record-%s.log"
maxsize: 1
maxbackups: 5
maxage: 30
# ants config
ants:
parse_concurrent_quantity: 10
# modelRT base config
base:
grid_id: 1
zone_id: 1
station_id: 1