-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
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
enable ssl client connections to brokers (#334) #383
Conversation
…om a group of topics populating those topics partitions
self.brokerProfiles[addr] = brokerProfile; | ||
if (self.ssl) { | ||
var sslAddress = brokerProfile.endpoints.find(function(endpoint) { | ||
return endpoint.startsWith('SSL://'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this won't work in 0.12.14
and below.
return new Client(host, clientId, undefined, undefined, sslOptions); | ||
} | ||
|
||
describe(suiteName, function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
everything after this is just indenting to put it inside of the forEach above.
Feedback on this PR @haio or @estliberitas ? |
Thank you for your contribution @CharlesWall ! |
Implement ssl socket for client/broker connections. only works with +0.9