[ 
https://issues.apache.org/jira/browse/FLINK-4491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15690474#comment-15690474
 ] 

ASF GitHub Bot commented on FLINK-4491:
---------------------------------------

Github user rmetzger commented on the issue:

    https://github.com/apache/flink/pull/2790
  
    I agree with Fabian here. The ESHelper does not use any Flink code at all, 
so the relation to Flink is not clear. A user of Hadoop would equally benefit 
from such a utility. I would expect that ES provides such tools to Java 
developers. Maybe there is a repository somewhere offering ES tools / 
abstractions?
    Apache Kafka for example also provides a set of tools to query the status 
of consumers, etc. independent of the framework consuming the data.


> Handle index.number_of_shards in the ES connector
> -------------------------------------------------
>
>                 Key: FLINK-4491
>                 URL: https://issues.apache.org/jira/browse/FLINK-4491
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming Connectors
>    Affects Versions: 1.1.0
>            Reporter: Flavio Pompermaier
>            Priority: Minor
>              Labels: elasticsearch, streaming
>
> At the moment is not possible to configure the number of shards if an index 
> does not already exists on the Elasticsearch cluster. It could be a great 
> improvement to handle the index.number_of_shards (passed in the configuration 
> object). E.g.:
> {code:java}
> Map<String, String> config = Maps.newHashMap();
> config.put("bulk.flush.max.actions", "1");
> config.put("cluster.name", "my-cluster-name");
> config.put("index.number_of_shards", "1");
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to