Open r00tvvm opened 4 years ago
Even I am facing the same issue Error from server at https://solr:8983/solr: require authentication
.
@r00tvvm did you find any alternative solution?
@ravipokuru we only managed it to work by switching to Zookeeper based configuration, which is not that elegant as it would be via HTTP.
We're running Solr 8.4.1 with basic authentication enabled for all type of requests and paths. Next running Kafka Connect with kafka-connect-solr plugin installed and default solrj library replaced with solr-solrj-8.4.1.jar. Kafka-connect-solr plugin (HttpSolrSinkConnector) has been configured with solr.username, solr.password
But the very simple test showing the first request is coming without Basic Authentication headers
Expecting this commit to work but it seems not. https://github.com/jcustenborder/kafka-connect-solr/commit/036fe18f0d231e030a07d27c3268fa2af8d6226e
Is it possible to force kafka-connect-solr to do
Preemptive Basic Authentication
and add authentication headers to all requests including the first one?