$ 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();})();
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários