its0beno opened a new issue, #344: URL: https://github.com/apache/pulsar-client-node/issues/344
So i have been trying to send a simple request as a demo on the frontend on react js but am getting  ` import { PulsarClient, Producer, Consumer } from 'pulsar-client'; const Pulasrclient = new PulsarClient.Client({ serviceUrl:"pulsar://192.168.100.38:6650", operationTimeoutSeconds: 10, connectionTimeoutSeconds: 5 }); async function connectToPulsar() { try { // Attempt to create a producer as a test for connection const producer = await client.createProducer({ topic: 'persistent://public/default/test-topic' }); await producer.close(); // Close the producer immediately after creation console.log("Connected to Pulsar!"); } catch (error) { console.error("Failed to connect to Pulsar:", error.message); } } ` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
