Download the perf utility built for your OS and Architecture. The default Prometheus metrics port is 8000 with --metrics overwrite.
Usage:
pulsar-perf-[os]-[arch]
Available Commands:
consume Consume from topic
help Help about any command
produce Produce on a topic and measure performance
Flags:
--debug enable debug output
-h, --help help for pulsar-perf-go
--metrics int Port to use to export metrics for Prometheus. Use -1 to disable. (default 8000)
--profile enable profiling
-u, --service-url string The Pulsar service URL (default "pulsar://localhost:6650")
--token-file string file path to the Pulsar JWT file
--trust-cert-file string file path to the trusted certificate file