{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "ConnectionStrings": { "ylcms": "server=221.229.106.161;uid=roottest;pooling=true;port=20306;pwd=YieldChain!@#$2020;database=yltrs_ylcms;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;", "yladmin": "server=221.229.106.161;uid=roottest;pooling=true;port=20306;pwd=YieldChain!@#$2020;database=yltrs_admin;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;", "ylclient": "server=221.229.106.161;uid=roottest;pooling=true;port=20306;pwd=YieldChain!@#$2020;database=yltrs_client;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;", "bondoms": "server=221.229.106.161;uid=roottest;pooling=true;port=20306;pwd=YieldChain!@#$2020;database=bond_oms;charset=utf8;Allow User Variables=True;SslMode=none;Connection Timeout=30;IgnoreCommandTransaction=true;", "apex_oracle": "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=122.112.205.57)(PORT=11521)))(CONNECT_DATA=(SERVICE_NAME=xe)));User ID=system;Password=oracle;" }, "AppSettings": { "VirtualPathRoot": "", "UseRightAligned": "", "PluginFolder": "" }, "LibreOffice": { "ExePath": "", "UserInstallation": "" }, "EPPlus": { "ExcelPackage": { "LicenseContext": "NonCommercial" //The license context used } }, "KafkaConfig": { "BootstrapServers": "122.112.205.57: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 "ReqInterestRateSwapInsertTopic": "ReqInterestRateSwapInsert", //收益互换交易推送请求topic "OnRspInterestRateSwapInsertTopic": "OnRspInterestRateSwapInsert", //收益互换交易推送请求响应topic "OnRspInterestRateSwapInsertTopicGroupId": "OnRspInterestRateSwapInsertConsumer", //收益互换交易推送请求响应消费组 "AccountCapitalTopicGroupId": "YiLian_OnRspAccountCapitalConsumer", //账户资金消费组 "ReqAssetSwapInsertTopic": "ReqAssetSwapInsert", //互换资产交易推送请求 "OnRspAssetSwapInsertTopic": "OnRspAssetSwapInsert", //互换资产交易推送请求响应 "OnRspAssetSwapInsertTopicGroupId": "OnRspAssetSwapInsertConsumer", //互换资产交易推送请求响应消费组 "ReqMarginInsertTopic": "ReqMarginInsert", //预付金交易推送请求 "OnRspMarginInsertTopic": "OnRspMarginInsert", //预付金交易推送请求响应 "OnRspMarginInsertTopicGroupId": "OnRspMarginInsertConsumer", //预付金交易推送请求响应消费组 "ReqAcctSwapTerminateTopic": "ReqAcctSwapTerminate", //平仓推送请求 "OnRspAcctSwapTerminateTopic": "OnRspAcctSwapTerminate", //平仓推送请求响应 "OnRspAcctSwapTerminateTopicGroupId": "OnRspAcctSwapTerminateConsumer", //平仓推送请求响应消费组 "ReqCalcBondTopic": "ReqCalcBond", //互换成交收益率计算器topic "OnRspCalcBondTopic": "OnRspCalcBond", //互换成交收益率计算器消费topic "OnRspCalcBondTopicGroupId": "OnRspCalcBondConsumer", //互换成交收益率计算器消费topic消费组 "AutoOffsetReset": 1, //Latest(0),Earliest(1),Error(2) "EnableCalcBongd": false, //是否启用kafka计算 "ReqClientRiskCheckTopic": "YiLian_ReqClientRiskCheck", //客户风控检查 "ReqClientRiskCheckConsumerTopic": "YiLian_OnRspClientRiskCheck", //客户风控检查消费者 "ReqClientRiskCheckTopicGroupId": "YiLian_ReqClientRiskCheckConsumer", //客户风控检查消费者 "ReqCounterPartyInfoInsertTopic": "ReqCounterPartyInfoInsert", //交易对手信息导入请求 "OnRspCounterPartyInsertTopic": "OnRspCounterPartyInsert", //交易对手信息导入请求响应 "OnRspCounterPartyInsertTopicGroupId": "OnRspCounterPartyInsertConsumer", //交易对手信息导入请求响应消费组 "ReqCounterPartyCashAccoutInsertTopic": "ReqCounterPartyCashAccoutInsert", //交易对手资金账户信息导入请求 "OnRspCounterPartyCashAccoutInsertTopic": "OnRspCounterPartyCashAccoutInsert", //交易对手资金账户信息请求响应 "OnRspCounterPartyCashAccoutInsertTopicGroupId": "OnRspCounterPartyCashAccoutInsertConsumer", //交易对手资金账户信息请求响应消费组 "RtnInterestRateSwapTopic": "RtnInterestRateSwap", //收益互换回执消费 "RtnInterestRateSwapTopicGroupId": "RtnInterestRateSwapConsumer", //收益互换回执消费组 "RtnAssetSwapTopic": "RtnAssetSwap", //互换资产交易回执消费 "RtnAssetSwapTopicGroupId": "RtnAssetSwapConsumer", //互换资产交易回执消费组 "RtnMarginTopic": "RtnMargin", //预付金交易回执消费 "RtnMarginTopicGroupId": "RtnMarginConsumer", //预付金交易回执消费组 "RtnAcctSwapTerminateTopic": "RtnAcctSwapTerminate", //合约终止回执消费 "RtnAcctSwapTerminateTopicGroupId": "RtnAcctSwapTerminateConsumer", //合约终止回执消费组 "RtnInterestRateSwapAccountTopic": "RtnInterestRateSwapAccount", //收益互换日终资金流水回执消费 "RtnInterestRateSwapAccountTopicGroupId": "RtnInterestRateSwapAccountConsumer", //收益互换日终资金流水回执消费组 "ReqClientMonitorTopic": "YiLian_ReqClientMonitor", //客户资金监控 "OnRspClientMonitorConsumerTopic": "YiLian_OnRspClientMonitor", //客户资金监控消费者 "ReqClientMonitorTopicGroupId": "YiLian_ReqClientMonitorConsumer", //客户资金监控消费组 "ReqClientMonitorSingleTopic": "YiLian_ReqClientMonitorSingle", //单个客户资金监控 "OnRspClientMonitorSingleConsumerTopic": "YiLian_OnRspClientMonitorSingle", //单个客户资金监控 "ReqClientMonitorSingleTopicGroupId": "YiLian_ReqClientMonitorSingleConsumer", //单个客户资金监控 "ExchangeTradeConsumerTopic": "RtnAssetSwapDb", //对冲交易消费 topic "ExchangeTradeConsumerTopicGroupId": "RtnAssetSwapDbGroup", //对冲交易消费 Group "TrsExchangeTradeConsumerTopic": "YiLian_HedgingOrder", //TRS对冲交易消费 topic "TrsExchangeTradeConsumerTopicGroupId": "YiLian_HedgingOrderGroup", //TRS对冲交易消费 Group "YiLian_ReqHedgingOrderCancelTopic": "YiLian_ReqHedgingOrderCancel", //TRS对冲交易撤单请求消费 topic "YiLian_ReqHedgingOrderCancelTopicGroupId": "YiLian_ReqHedgingOrderCancelGroup", //TRS对冲交易撤单请求消费 Group "YiLian_RespHedgingOrderCancelTopic": "YiLian_RespHedgingOrderCancel", //TRS对冲交易撤单请求回应 topic "YiLian_ClientInfoChangeTopic": "YiLian_ClientInfoChangeTopic", //客户信息变更通知客户端 topic "YiLian_CashCalcConsumerTopic": "YiLian_CashCalc", //客户资金计算 topic "YiLian_CashCalcConsumerGroup": "YiLian_CashCalcGroup", //客户资金计算消费组 topic "YiLian_CashNoticeConsumerTopic": "YiLian_CashNotice", //客户资金通知 topic "YiLian_CashNoticeConsumerGroup": "YiLian_CashNoticeGroup", //客户资金通知消费组 topic "YiLian_HolidayResetTopic": "YiLian_HolidayReset", //交易日历缓存重新加载 topic "YiLian_HolidayResetGroupId": "YiLian_HedgingOrderGroup" //交易日历缓存重新加载消费 Group }, "BondOmsInterface": { "BaseUrl": "http://localhost:8887", "CalculateMarginUrl": "/marginAlgorithm/triggerMarginCalc" // }, "OrcaleDatabaseConfig": { "Schema": "APEX_040000" }, "SendKafakaCron": "10 0 * * *", "MaxThreadPercent": 0.6 //占系统资源最多60%的线程数量 }