title: Basic Authentication for Kafka Connect to Access Schema Registry
body: <p>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:</p>
  <blockquote>
  <p>&quot;io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException:
  Unauthorized; error code: 401&quot;</p>
  </blockquote>
  <p>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.</p>