Class EnterpriseGeoIpTask

java.lang.Object
org.elasticsearch.ingest.EnterpriseGeoIpTask

public final class EnterpriseGeoIpTask extends Object
As a relatively minor hack, this class holds the string constant that defines both the id and the name of the task for the new ip geolocation database downloader feature. It also provides the PersistentTaskParams that are necessary to start the task and to run it.

Defining this in Elasticsearch itself gives us a reasonably tidy version of things where we don't end up with strange inter-module dependencies. It's not ideal, but it works fine.

  • Field Details

    • ENTERPRISE_GEOIP_DOWNLOADER

      public static final String ENTERPRISE_GEOIP_DOWNLOADER
      See Also:
    • GEOIP_DOWNLOADER_DATABASE_CONFIGURATION

      public static final NodeFeature GEOIP_DOWNLOADER_DATABASE_CONFIGURATION