Using Pulsar CLI tools
Before using the Pulsar CLI tools to connect to a Pulsar cluster, follow the CLI connect QuickStart. You need to get the service URLs, the OAuth2 file and authentication parameters, and the token.
Refer to the Pulsar CLI Reference Guide for details about commands and usage. Refer to the Kafka on Pulsar guide for details about using the Kafka protocol to connect to a Pulsar cluster.