com.inin.analytics.elasticsearch.index.rotation.ExampleElasticsearchIndexRotationStrategyZookeeper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-lambda Show documentation
Show all versions of elasticsearch-lambda Show documentation
Framework For Lambda Architecture on Elasticsearch
package com.inin.analytics.elasticsearch.index.rotation;
public class ExampleElasticsearchIndexRotationStrategyZookeeper extends ElasticsearchIndexRotationManagerZookeeper {
private static final String INDEX_NAME_BASE_ZNODE = "/example/index/alias/";
private static final String INDEX_REBUILD_PIPELINE_STATE_ZNODE = "/example/index/rebuild/pipeline/state";
@Override
protected String getBaseZnode() {
return INDEX_NAME_BASE_ZNODE;
}
@Override
protected String getRebuildStateZnode() {
return INDEX_REBUILD_PIPELINE_STATE_ZNODE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy