Class HttpDataSourcePlugin

java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.xpack.esql.datasource.http.HttpDataSourcePlugin
All Implemented Interfaces:
Closeable, AutoCloseable, DataSourcePlugin

public class HttpDataSourcePlugin extends Plugin implements DataSourcePlugin
Data source plugin that provides HTTP/HTTPS and local file storage providers for ESQL external data sources.

This plugin provides:

  • HTTP/HTTPS storage provider for reading from web servers
  • Local file system storage provider for testing and development

These implementations have no heavy external dependencies and use JDK's built-in HttpClient and java.nio APIs.

The executor for async HTTP I/O is injected via the DataSourcePlugin.storageProviders(Settings, ExecutorService) SPI method, backed by the ES GENERIC thread pool.