42 lines
775 B
YAML
42 lines
775 B
YAML
postgres:
|
|
host: "localhost"
|
|
port: 5432
|
|
database: "model_rt"
|
|
user: "postgres"
|
|
password: "coslight"
|
|
|
|
kafka:
|
|
servers: "localhost:9092"
|
|
port: 9092
|
|
group_id: "modelRT"
|
|
topic: ""
|
|
auto_offset_reset: "earliest"
|
|
enable_auto_commit: "false"
|
|
read_message_time_duration: ”0.5s"
|
|
|
|
# influxdb:
|
|
# host: "localhost"
|
|
# port: "8086"
|
|
# token: "lCuiQ316qlly3iFeoi1EUokPJ0XxW-5lnG-3rXsKaaZSjfuxO5EaZfFdrNGM7Zlrdk1PrN_7TOsM_SCu9Onyew=="
|
|
# org: "coslight"
|
|
# bucket: "wave_record"
|
|
|
|
# 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
|