public Optional<String> getIndexRequestFactoryClassName() {
    return Optional.ofNullable(get(CONFIG_KEY_INDEX_REQUEST_FACTORY));
  }
Elasticsearch configuration class to read elasticsearch specific configuration from Samza.
samza-elasticsearch/src/main/java/org/apache/samza/config/ElasticsearchConfig.java