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

Configure registry client with a map

Open davidlivingrooms opened this issue 1 year ago • 2 comments

I'm trying to use this plugin with confluent cloud. We only support api key and secret authentication, but I don't believe this is supported by this library. I only see instructions for basic auth. Am I missing something or does this library not work with confluent cloud api secrets?

davidlivingrooms avatar Jan 22 '24 22:01 davidlivingrooms

Hello @davidlivingrooms,

I think you are right, this plugin does not currently support this mode of authentication. It should be fairly simple to add : pass the right configuration to the Registry Client as we rely on it for the authentication, requests ...

But it will probably be hard to test. We could have unit test that verifies that the mock clients has the correct configuration but in a more interesting Integration test, I don't know if it's possible to spin a container with the correct configuration (I am not a customer of confluent cloud myself). Any idea are welcomed.

Would you like to throw a PR for this ? Happy to assist if needs be, I am a bit short on time currently so if you are in a hurry it might be better for you.

ImFlog avatar Jan 22 '24 23:01 ImFlog