$ 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();})();
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan