mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-05 13:08:48 +08:00
[Bugfix] fix replica dsl (#708)
This commit is contained in:
@@ -1,34 +1,48 @@
|
||||
{
|
||||
"size": 0,
|
||||
"query": {
|
||||
"bool": {
|
||||
"must": [
|
||||
{
|
||||
"term": {
|
||||
"clusterPhyId": {
|
||||
"value": %d
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"term": {
|
||||
"brokerId": {
|
||||
"value": %d
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"range": {
|
||||
"timestamp": {
|
||||
"gte": %d,
|
||||
"lte": %d
|
||||
}
|
||||
}
|
||||
"size":0,
|
||||
"query":{
|
||||
"bool":{
|
||||
"must":[
|
||||
{
|
||||
"term":{
|
||||
"clusterPhyId":{
|
||||
"value":%d
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"term":{
|
||||
"brokerId":{
|
||||
"value":%d
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"term":{
|
||||
"topic":{
|
||||
"value":"%s"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"term":{
|
||||
"partitionId":{
|
||||
"value":%d
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"range":{
|
||||
"timestamp":{
|
||||
"gte":%d,
|
||||
"lte":%d
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"aggs": {
|
||||
%s
|
||||
},
|
||||
"aggs":{
|
||||
%s
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user