Skip to content

Commit

Permalink
[CHECKER] add release checker
Browse files Browse the repository at this point in the history
  • Loading branch information
chia7712 committed Jan 4, 2025
1 parent 3ccfe7c commit c38693a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions app/src/main/java/org/astraea/app/checker/Checker.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,16 @@

public class Checker {

private static final List<Guard> GUARDS = List.of(new RpcGuard(), new ConfigGuard());
private static final List<Guard> GUARDS =
List.of(new ReleaseGuard(), new RpcGuard(), new ConfigGuard());

public static void main(String[] args) throws Exception {
execute(Argument.parse(new Argument(), args));
execute(
Argument.parse(
new Argument(),
new String[] {
"--bootstrap.servers", "172.20.10.2:9092", "--jmx.ports", "0=11111,1=11112,2=11113"
}));
}

public static void execute(final Argument param) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.astraea.common.metrics.MBeanClient;
import org.astraea.common.metrics.broker.ServerMetrics;

public class VersionGuard implements Guard {
public class ReleaseGuard implements Guard {

@Override
public Collection<Report> run(
Expand Down

0 comments on commit c38693a

Please sign in to comment.