public ConsumeStatus consumeStatus(final String group, final String topic) { ConsumeStatus cs = new ConsumeStatus(); cs.setPullRT(ss.getAvgpt()); cs.setPullTPS(ss.getTps()); cs.setConsumeRT(ss.getAvgpt()); cs.setConsumeOKTPS(ss.getTps()); cs.setConsumeFailedTPS(ss.getTps()); cs.setConsumeFailedMsgs(ss.getSum());
String item = String.format("%-32s %14.2f %14.2f %14.2f %14.2f %18.2f %25d%n", next.getKey(), next.getValue().getPullRT(), next.getValue().getPullTPS(), next.getValue().getConsumeRT(), next.getValue().getConsumeOKTPS(), next.getValue().getConsumeFailedTPS(), next.getValue().getConsumeFailedMsgs() );
public ConsumeStatus consumeStatus(final String group, final String topic) { ConsumeStatus cs = new ConsumeStatus(); cs.setPullRT(ss.getAvgpt()); cs.setPullTPS(ss.getTps()); cs.setConsumeRT(ss.getAvgpt()); cs.setConsumeOKTPS(ss.getTps()); cs.setConsumeFailedTPS(ss.getTps()); cs.setConsumeFailedMsgs(ss.getSum());
String item = String.format("%-32s %14.2f %14.2f %14.2f %14.2f %18.2f %25d%n", next.getKey(), next.getValue().getPullRT(), next.getValue().getPullTPS(), next.getValue().getConsumeRT(), next.getValue().getConsumeOKTPS(), next.getValue().getConsumeFailedTPS(), next.getValue().getConsumeFailedMsgs() );
public ConsumeStatus consumeStatus(final String group, final String topic) { ConsumeStatus cs = new ConsumeStatus(); cs.setPullRT(ss.getAvgpt()); cs.setPullTPS(ss.getTps()); cs.setConsumeRT(ss.getAvgpt()); cs.setConsumeOKTPS(ss.getTps()); cs.setConsumeFailedTPS(ss.getTps()); cs.setConsumeFailedMsgs(ss.getSum());
String item = String.format("%-32s %14.2f %14.2f %14.2f %14.2f %18.2f %25d%n", next.getKey(), next.getValue().getPullRT(), next.getValue().getPullTPS(), next.getValue().getConsumeRT(), next.getValue().getConsumeOKTPS(), next.getValue().getConsumeFailedTPS(), next.getValue().getConsumeFailedMsgs() );