$ npm install pulsar-client
const Pulsar = require("pulsar-client");(async () => {const client = new Pulsar.Client({serviceUrl: "http://*", // Replace with the access address. You can copy the complete address from the Cluster page in the console.authentication: new Pulsar.AuthenticationToken({token: "eyJh**", // Change the example value to your actual token.}),});await client.close();})();
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback