The Java High Level REST Client is deprecated in Elastic 7.15.0, in favour of the Java API Client: https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high.html Despite compatibility mode allowing the 7.17 High Level Rest Client to work with Elasticsearch 8.x, it is not compatible with ElasticSearch 9. Guide for the upgrade: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/8.18/migrate-hlrc.html This will fix: https://github.com/confluentinc/kafka-connect-elasticsearch/issues/847 https://github.com/confluentinc/kafka-connect-elasticsearch/pull/828