Package org.acemq.workloads.cli
Class Cli
java.lang.Object
org.acemq.workloads.cli.Cli
java -jar acemq-workload.jar -f workload.yaml
Exit codes are the interface
More important than the report format, because a pipeline reads the exit code and a person reads the report. The three failure modes are genuinely different and a build that treats them alike will retry the one that can never succeed:
| 0 | every workload passed |
| 1 | a run was sound and missed an objective — the broker's answer is "no" |
| 2 | a run was invalid; nothing was measured, retrying as-is will produce the same non-answer |
| 3 | the workload file is wrong — including when it is the broker that says so, by refusing a topology that contradicts what it already has |
| 4 | the broker could not be reached, or the run failed outright |
A broker that answers and refuses is deliberately not 4. See BrokerFailure.
Everything this class prints goes out through Redaction, so no message can leak a
password by taking a route nobody remembered to redact.
-
Method Summary
-
Method Details
-
main
-