'Basic Authentication for Kafka Connect to Access Schema Registry
We have set our Schema Registry and Kafka Connect to use basic authentication. Some of the connectors seem to be running. But some of them gives an error:
"io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Unauthorized; error code: 401"
How can I give credentials of Schema Registry to Kafka Connect? Should I define it in connector config or connect-distributed.properties? Mind that I can use curl commands such as GET without any problems.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
