51 lines
2.8 KiB
JSON
51 lines
2.8 KiB
JSON
{
|
|
"Logging": {
|
|
"Syslog": {
|
|
"LogLevel": {
|
|
"Default": "None"
|
|
}
|
|
},
|
|
"Journal": {
|
|
"LogLevel": {
|
|
"Default": "None"
|
|
}
|
|
},
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.Hosting.Lifetime": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"ylcms": "server=139.196.109.225;uid=root;pooling=true;port=3306;pwd=Midnight001!@#$;database=yltrs_ylcms;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;",
|
|
"yladmin": "server=139.196.109.225;uid=root;pooling=true;port=3306;pwd=Midnight001!@#$;database=yltrs_admin;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;",
|
|
"ylclient": "server=139.196.109.225;uid=root;pooling=true;port=3306;pwd=Midnight001!@#$;database=yltrs_client;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;",
|
|
"bondoms": "server=139.196.109.225;uid=root;pooling=true;port=3306;pwd=Midnight001!@#$;database=bond_oms;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;"
|
|
},
|
|
"AppSettings": {
|
|
"RunInterval": "1000",
|
|
"VirtualPathRoot": "" //兴业必须填写otc web的虚拟目录
|
|
},
|
|
"KafkaConfig": {
|
|
"BootstrapServers": "139.196.109.225:9092", // Kafka 集群的地址
|
|
"Acks": -1, // 消息确认方式,可以是 All(-1)、Leader(1)、None(0) 中的一种
|
|
"EnableIdempotence": false, // 开启幂等性,确保消息只被发送一次
|
|
"MaxInFlight": 5, // 控制生产者在同一时间最多可以发送的未确认消息数
|
|
"CompressionType": 0, // 消息压缩方式,可以是 None(0)、Gzip(1)、Snappy(2)、Lz4(3)、Zstd(4) 中的一种,
|
|
"MessageTimeoutMs": 3000, // 控制生产者等待消息确认的时间,单位是毫秒
|
|
"ClientRateTopic": "ylClientRateTopic", //客户互换费率生产topic
|
|
"HedgingAccountTopic": "ylHedgingAccountTopic", //对冲账户生产topic
|
|
"ReqAccountCapitalTopic": "ReqAccountCapital", //账户资金请求topic
|
|
"OnRspAccountCapitalTopic": "OnRspAccountCapital", //账户资金请求返回topic
|
|
"AccountCapitalTopicGroupId": "YiLian_OnRspAccountCapitalConsumer", //账户资金消费组
|
|
"ReqCalcBondTopic": "ReqCalcBond", //互换成交收益率计算器topic
|
|
"OnRspCalcBondTopic": "OnRspCalcBond", //互换成交收益率计算器消费topic
|
|
"OnRspCalcBondTopicGroupId": "OnRspCalcBondConsumer", //互换成交收益率计算器消费topic消费组
|
|
"AutoOffsetReset": 1, //Latest(0),Earliest(1),Error(2)
|
|
"EnableCalcBongd": false //是否启用kafka计算
|
|
},
|
|
"BondOmsInterface": {
|
|
"BaseUrl": "http://trs.yiliantech.com:8080",
|
|
"CalculateDMAMarginUrl": "/marginAlgorithm/realTimeMarginCalc" // 多空组合预付金计算
|
|
}
|
|
}
|