Topic消息查询支持Timestamp排序,接口支持按指定日期查询

This commit is contained in:
superspeedone
2022-09-09 15:45:31 +08:00
parent 8e50d145d5
commit 0e49002f42
6 changed files with 50 additions and 21 deletions

View File

@@ -92,9 +92,8 @@ public class TopicStateController {
@ResponseBody
public Result<List<TopicRecordVO>> getTopicMessages(@PathVariable Long clusterPhyId,
@PathVariable String topicName,
@Validated @RequestBody TopicRecordDTO dto,
@Validated PaginationSortDTO sortDto) throws Exception {
return topicStateManager.getTopicMessages(clusterPhyId, topicName, dto, sortDto);
@Validated @RequestBody TopicRecordDTO dto) throws Exception {
return topicStateManager.getTopicMessages(clusterPhyId, topicName, dto);
}
@ApiOperation(value = "Topic-ACL信息", notes = "")