![search-icon](https://private-user-images.githubusercontent.com/32779855/263308379-2f594d89-7369-4c49-994a-1d67eefce436.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MTg2MjQsIm5iZiI6MTcyNDYxODMyNCwicGF0aCI6Ii8zMjc3OTg1NS8yNjMzMDgzNzktMmY1OTRkODktNzM2OS00YzQ5LTk5NGEtMWQ2N2VlZmNlNDM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDIwMzg0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc3NzFiOWQ3NDc4ODQyMzU5MGU5MDk3YzcwYmY5YTI1ZDhlNGM5NTYzZjEwNmQ0NDhiMTg1MzExYmZlM2FkMzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HRYvUN5DqVJGjTHicD6AlDgpD-PmiRSb--noR3AXEgE)
This repository contains the source code for all Elastic connectors, developed by the Search team at Elastic. Use connectors to sync data from popular data sources to Elasticsearch.
These connectors are available as:
- Connector clients to be self-managed on your own infrastructure
- Native connectors using our fully managed service on Elastic Cloud
โน๏ธ For an overview of the steps involved in deploying connector clients refer to Connector clients in the official Elastic documentation.
To get started quickly with self-managed connectors using Docker Compose, check out this README file.
The main documentation for using connectors lives in the Search solution's docs. Here are the main pages:
You'll also find the individual references for each connector there. For everything to do with developing connectors, you'll find that here in this repo.
Since 8.12.0, you can manage connectors and sync jobs programmatically using APIs. Refer to the Connector API documentation in the Elasticsearch docs.
Learn about our CLI tool in docs/CLI.md
.
In addition to the source code for individual connectors, this repo also contains the connector service code, which is used for tasks like running connectors, and managing scheduling, syncs, and cleanup. This is shared code that is not used by individual connectors, but helps to coordinate and run a deployed instance/process.
This repo is also the home of the Elastic connector framework. This framework enables developers to build Elastic-supported connector clients. The framework implements common functionalities out of the box, so developers can focus on the logic specific to integrating their chosen data source.
The framework ensures compatibility, makes it easier for our team to review PRs, and help out in the development process. When you build using our framework, we provide a pathway for the connector to be officially supported by Elastic.
This repo provides a set of scripts to allow a user to set up a full Elasticsearch, Kibana, and Connectors service stack using Docker. This is useful to get up and running with the Connectors framework with minimal effort, and provides a guided set of prompts for setup and configuration. For more information, instructions, and options, see the README file in the stack folder.
The framework serves two distinct, but related use cases:
- Customizing an existing Elastic connector client
- Building a new connector client
- Code of Conduct
- Getting Support
- Releasing
- Developer guide
- Connectors Reference
- Security Policy
- Elastic-internal guide
- Connector Protocol
- Configuration
- Command line interface
- Contribution guide
- Upgrading
Note
Version compatibility will not be checked if Elasticsearch is serverless.
The Connector will perform a version compatibility check with the configured Elasticsearch server on startup. If the versions are incompatible, the Connector will terminate and output the incompatible versions in the shell. If the versions are different but otherwise compatible, the Connector will output a warning in the shell but will continue operating.
We recommend running on the same version as Elasticsearch. However, if you want to hold back upgrading one or the other for any reason, use this table to determine if your versions will be compatible.
Situation | Example Connector Framework version | Example ES version | Outcome |
---|---|---|---|
Versions are the same. | 8.15.1.0 | 8.15.1 | ๐ OK |
Connectors has a build version. | 8.15.1.3 | 8.15.1 | ๐ OK |
ES patch number is newer. | 8.15.0.0 | 8.15.1 | |
ES minor number is newer. | 8.14.2.0 | 8.15.0 | |
ES major number is newer. | 8.15.1.0 | 9.0.0 | ๐ซ Fatal error |
ES patch number is older. | 8.15.1.0 | 8.15.0 | |
ES minor number is older. | 8.15.1.0 | 8.14.2 | ๐ซ Fatal error |
ES major number is older. | 9.0.0.0 | 8.15.1 | ๐ซ Fatal error |