- 在多个环境配置文件中新增RealtimeCalcAccountBalance配置项 - 移除ClientBalanceForTrsResponse中的冗余字段 - 更新Kafka任务和控制器中相关字段引用 - 修改Producer发送的目标topic为新的实时计算topic
52 lines
2.9 KiB
JSON
52 lines
2.9 KiB
JSON
{
|
|
"Logging": {
|
|
"Syslog": {
|
|
"LogLevel": {
|
|
"Default": "None"
|
|
}
|
|
},
|
|
"Journal": {
|
|
"LogLevel": {
|
|
"Default": "None"
|
|
}
|
|
},
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.Hosting.Lifetime": "Warning"
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"ylcms": "server=192.168.2.96;uid=DBAdmin;pooling=true;port=3306;pwd=YieldChain$$2025;database=zszq_yltrs_ylcms;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;",
|
|
"yladmin": "server=192.168.2.96;uid=DBAdmin;pooling=true;port=3306;pwd=YieldChain$$2025;database=zszq_yltrs_admin;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;",
|
|
"ylclient": "server=192.168.2.96;uid=DBAdmin;pooling=true;port=3306;pwd=YieldChain$$2025;database=zszq_yltrs_client;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;",
|
|
"bondoms": "server=192.168.2.96;uid=DBAdmin;pooling=true;port=3306;pwd=YieldChain$$2025;database=zszq_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
|
|
"RealtimeCalcAccountBalance": "RealtimeCalcAccountBalance", //实时资金计算topic
|
|
"AccountCapitalTopicGroupId": "YiLian_OnRspAccountCapitalConsumer", //账户资金消费组
|
|
"ReqCalcBondTopic": "ReqCalcBond", //互换成交收益率计算器topic
|
|
"OnRspCalcBondTopic": "OnRspCalcBond", //互换成交收益率计算器消费topic
|
|
"OnRspCalcBondTopicGroupId": "OnRspCalcBondConsumer", //互换成交收益率计算器消费topic消费组
|
|
"AutoOffsetReset": 1, //Latest(0),Earliest(1),Error(2)
|
|
"EnableCalcBongd": true //是否调用计算器
|
|
},
|
|
"BondOmsInterface": {
|
|
"BaseUrl": "http://trs.yiliantech.com:8080/trs_hub_api",
|
|
"CalculateDMAMarginUrl": "/marginAlgorithm/realTimeMarginCalc" // 多空组合预付金计算
|
|
}
|
|
}
|