36 lines
958 B
Java
36 lines
958 B
Java
package com.xuxd.kafka.console.service;
|
|
|
|
import com.xuxd.kafka.console.beans.ResponseData;
|
|
import java.util.List;
|
|
import java.util.Properties;
|
|
import org.apache.kafka.common.TopicPartition;
|
|
|
|
/**
|
|
* kafka-console-ui.
|
|
*
|
|
* @author xuxd
|
|
* @date 2021-10-24 23:12:43
|
|
**/
|
|
public interface OperationService {
|
|
|
|
ResponseData syncConsumerOffset(String groupId, String topic, Properties thatProps);
|
|
|
|
ResponseData minOffsetAlignment(String groupId, String topic, Properties thatProps);
|
|
|
|
ResponseData getAlignmentList();
|
|
|
|
ResponseData deleteAlignmentById(Long id);
|
|
|
|
ResponseData electPreferredLeader(String topic, int partition);
|
|
|
|
ResponseData configThrottle(List<Integer> brokerList, long size);
|
|
|
|
ResponseData removeThrottle(List<Integer> brokerList);
|
|
|
|
ResponseData currentReassignments();
|
|
|
|
ResponseData cancelReassignment(TopicPartition partition);
|
|
|
|
ResponseData proposedAssignments(String topic, List<Integer> brokerList);
|
|
}
|