Closed fbaligand closed 9 months ago
@revpoint could you review my PR? This is a simple change, but necessary for registries using https without client certificate.
Thanks @ryananguiano for the merge!
Hi @ryananguiano,
Now that this PR is merged, could you do a new release on RubyGems.org? For example, version 1.2.1.
This would be very useful so that users (like me) can update the plugin in their Logstash installation!
Thanks in advance, Fabien
Hi @ryananguiano,
I follow up on this PR. Could you release the plugin onto rubygems.org?
This is really important to be able to install the plugin using Logstash CLI:
logstash-plugin install logstash-codec-avro_schema_registry
Currently, when using a TLS connection to avro schema registry with only a server certificate (no client certificate), all TLS settings (client_key, ca_certificate and verify_mode) are ignored because
client_certificate
setting is nil: https://github.com/revpoint/logstash-codec-avro_schema_registry/blob/master/lib/logstash/codecs/avro_schema_registry.rb#L143So this PR aims to fix that, doing no check at all, because all required checks are already done by "schema_registry" library itself here: https://github.com/wvanbergen/schema_registry/blob/master/lib/schema_registry/client.rb#L84