We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
// Sample Code const client = new kafka.KafkaClient({ kafkaHost: 'talabatkafka.servicebus.windows.net:9093', ssl:true, sasl: { mechanism: 'plain', username: '$ConnectionString', password: 'Endpoint' }, sslOptions: { rejectUnauthorized: false, } }); const producer = new kafka.Producer(client); const payload = [{ topic: "test_hub", messages: "Test message", partition: 0}]; producer.send(payload, function(error, result) {
{ Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Questions?
Environment
// Sample Code
const client = new kafka.KafkaClient({
kafkaHost: 'talabatkafka.servicebus.windows.net:9093',
ssl:true,
sasl: {
mechanism: 'plain',
username: '$ConnectionString',
password: 'Endpoint'
},
sslOptions: {
rejectUnauthorized: false,
}
});
const producer = new kafka.Producer(client);
const payload = [{ topic: "test_hub", messages: "Test message", partition: 0}];
producer.send(payload, function(error, result) {
Output
{ Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }
The text was updated successfully, but these errors were encountered: