mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
[Feature]MM2管理-补充集群Group列表信息(#894)
This commit is contained in:
@@ -58,6 +58,7 @@ public interface GroupService {
|
||||
/**
|
||||
* DB-GroupTopic相关接口
|
||||
*/
|
||||
List<GroupMemberPO> listGroupByCluster(Long clusterPhyId);
|
||||
List<GroupMemberPO> listGroupByTopic(Long clusterPhyId, String topicName);
|
||||
|
||||
PaginationResult<GroupMemberPO> pagingGroupMembers(Long clusterPhyId,
|
||||
|
||||
@@ -224,6 +224,14 @@ public class GroupServiceImpl extends BaseKafkaVersionControlService implements
|
||||
return GroupStateEnum.getByState(poList.get(0).getState());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<GroupMemberPO> listGroupByCluster(Long clusterPhyId) {
|
||||
LambdaQueryWrapper<GroupMemberPO> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
lambdaQueryWrapper.eq(GroupMemberPO::getClusterPhyId, clusterPhyId);
|
||||
|
||||
return groupMemberDAO.selectList(lambdaQueryWrapper);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<GroupMemberPO> listGroupByTopic(Long clusterPhyId, String topicName) {
|
||||
LambdaQueryWrapper<GroupMemberPO> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
|
||||
Reference in New Issue
Block a user