You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to connect kafka-node with the Azure event hub connect string but the client connection is giving timeout, if remove timeout from config then it is not returning any response, Can anyone help to debug the same ?
Questions?
Sample Code
const client = new kafka.KafkaClient({
kafkaHost: 'sample.servicebus.windows.net:9093',
sasl: {
mechanism: 'plain',
username: '$ConnectionString',
password: 'Endpoint=sb://sample.servicebus.windows.net/;SharedAccessKeyName=db_update;SharedAccessKey=sample+AEhukWIQI=;EntityPath=test_hub'
},
requestTimeout: false
});
NOTE: I have altered the config but you can see the code above
Output
Request timed out after 30000ms
Thanks for your contribution!
The text was updated successfully, but these errors were encountered: