I believe it would require a code change to the ConfluentSchemaRegistry service to have properties for basic auth username and password, and then pass them down to the client calls.
Feel free to create a JIRA to capture this improvement. On Mon, Aug 19, 2019 at 8:17 PM Ali Nazemian <[email protected]> wrote: > > I would like to use Confluent Schema Registry processor to retrieve a schema > and use it accordingly. SSL is enabled for the confluent schema registry with > basic authentication. I am not able to get the Confluent Schema Registry > processor to work with the credentials. If I disable credentials everything > is fine, but once I enabled it I don't have any option in the processor to > provide credentials. I tried to use the credential in the URL, but it looks > like NiFi ignores that as I still see the 401 Unauthorized exception. I would > appreciate it if someone could help me to resolve this issue. > > P.S: I am using this processor: > https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-confluent-platform-nar/1.9.0/org.apache.nifi.confluent.schemaregistry.ConfluentSchemaRegistry/index.html > > Thanks, > Ali
