先不消费
This commit is contained in:
@@ -137,7 +137,7 @@ func (a *API) ConsumeInfo(topic, consumerGroupId string, size int) (consumeInfoR
|
|||||||
"topic": topic,
|
"topic": topic,
|
||||||
"consumerGroupId": consumerGroupId,
|
"consumerGroupId": consumerGroupId,
|
||||||
"size": size,
|
"size": size,
|
||||||
"ack": "true", //默认消费之后就确认
|
// "ack": "true", //默认消费之后就确认
|
||||||
})
|
})
|
||||||
if err == nil {
|
if err == nil {
|
||||||
utils.Map2StructByJson(result["result"].(map[string]interface{})["messages"], &consumeInfoResult, false)
|
utils.Map2StructByJson(result["result"].(map[string]interface{})["messages"], &consumeInfoResult, false)
|
||||||
|
|||||||
Reference in New Issue
Block a user