schema-registry-statistics icon indicating copy to clipboard operation
schema-registry-statistics copied to clipboard

Support config file

Open EladLeev opened this issue 2 years ago • 6 comments

Support load configuration from a config file so users could switch only between topics with the same config (ca, etc)

EladLeev avatar Feb 19 '23 18:02 EladLeev

Support of the config file would be needed not only for switching between topics, but also to support some advanced security configuration to connect to the cluster (to support security protocols such as SASL_PLAINTEXT, SASL_SSL and also mTLS for Broker connections, as well as Basic Auth over TLS/SSL for Schema Registry connections).

So please add this functionality to add the client config file and please also propagate the given config for connections to schema registry as well.

Thanks for the tool!

whatsupbros avatar Feb 20 '23 15:02 whatsupbros

Thank you for your input! 😄 Yes, I'm looking to go with the same approach as kcat (as an example), and support property file with librdkafka configs Hope I'll get to it asap

EladLeev avatar Feb 20 '23 16:02 EladLeev

So please add this functionality to add the client config file and please also propagate the given config for connections to schema registry as well.

@ZZa , You mean the ability to consume using Schema Registry, right?

EladLeev avatar Feb 20 '23 16:02 EladLeev

Hm, probably my bad, because in the case of this tool you shouldn't need the connection to the Schema Registry at all, because you're only assessing the wire header, and you do not need to deserialize the messages in order to collect the needed info.

So, my words regarding the connection to Schema Registry are not relevant here.

whatsupbros avatar Feb 20 '23 17:02 whatsupbros

No worries, just wanted to make sure that I don't miss anything

EladLeev avatar Feb 20 '23 17:02 EladLeev

Hey! How's it going? I could give it a try when the "config file" functionality is added and provide you with some real-world feedback.

whatsupbros avatar Mar 02 '23 16:03 whatsupbros