public class ToolsUtils extends Object
Constructor and Description |
---|
ToolsUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
prettyPrintTable(List<String> headers,
List<List<String>> rows,
PrintStream out) |
static void |
prettyPrintTable(String[] headers,
List<String[]> rows,
PrintStream out) |
static void |
printMetrics(Map<org.apache.kafka.common.MetricName,? extends org.apache.kafka.common.Metric> metrics)
print out the metrics in alphabetical order
|
public static void printMetrics(Map<org.apache.kafka.common.MetricName,? extends org.apache.kafka.common.Metric> metrics)
metrics
- the metrics to be printed outpublic static void prettyPrintTable(String[] headers, List<String[]> rows, PrintStream out)