重置消费位点

This commit is contained in:
许晓东
2021-10-22 19:58:27 +08:00
parent 36bb140c79
commit e0e8e027d8
6 changed files with 114 additions and 2 deletions

View File

@@ -23,6 +23,8 @@ public class ResetOffsetDTO {
private int partition;
private long offset;
public interface Level {
int TOPIC = 1;
int PARTITION = 2;
@@ -32,5 +34,6 @@ public class ResetOffsetDTO {
int EARLIEST = 1;
int LATEST = 2;
int TIMESTAMP = 3;
int SPECIAL = 4;
}
}