Details
-
Improvement
-
Status: Triage Needed
-
P2
-
Resolution: Fixed
-
2.14.0
-
None
Description
ElasticsearchIO splits BoundedSource based on the Elasticsearch index size. We expect it can be more accurate to split it base on query result size.
Currently, we have a big Elasticsearch index. But for query result, it only contains a few documents in the index. ElasticsearchIO splits it into up to1024 BoundedSources in Google dataflow. It takes long time to finish the processing the small numbers of Elasticsearch document in Google dataflow.