Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4491

Handle index.number_of_shards in the ES connector

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.:

      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");
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            f.pompermaier Flavio Pompermaier
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment