Tencent / TubeMQ

TubeMQ has been donated to the Apache Software Foundation and renamed to InLong, please visit the new Apache repository: https://github.com/apache/incubator-inlong
https://inlong.apache.org/
2.02k stars 388 forks source link

qryPriorityId value is inconsistent with the definition relationship #74

Closed gosonzhang closed 5 years ago

gosonzhang commented 5 years ago

In the flow control rule setting, the interface document prompts qryPriorityId to be a composite structure, the type is A0B, and the default value of the field is 301. However, if the url does not carry this field, the default value of the interface is 0.

{"result":true,"errCode":0,"errMsg":"OK","data":[{"type":"BdbGroupFlowCtrlEntity","groupName":"test1","statusId":1,"ssdTranslateId":-2,"ruleCnt":1,"needSSDProc":true,"serialId":1568964894444,"qryPriorityId":0,"flowCtrlInfo":[{"type":3,"rule":[{"normFreqInMs":0,"filterFreqInMs":1000,"minDataFilterFreqInMs":5000}]}], "attributes":"qryPriorityId=0", "createUser":"lenanli","createDate":"20190920153454"}],"count":1}

流控规则设置里,接口文档里提示qryPriorityId该字段值为一个复合结构,类型为A0B,字段缺省值为301,但是url里如果真的没携带这个字段,接口显示默认值是0