You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Vikas Kedigehalli (JIRA)" <ji...@apache.org> on 2017/01/27 16:41:24 UTC

[jira] [Created] (BEAM-1330) DatastoreIO Writes should flush early when duplicate keys arrive.

Vikas Kedigehalli created BEAM-1330:
---------------------------------------

             Summary: DatastoreIO Writes should flush early when duplicate keys arrive.
                 Key: BEAM-1330
                 URL: https://issues.apache.org/jira/browse/BEAM-1330
             Project: Beam
          Issue Type: Improvement
          Components: sdk-java-gcp
            Reporter: Vikas Kedigehalli
            Assignee: Vikas Kedigehalli
            Priority: Minor


DatastoreIO writes batches upto 500 entities (rpc limit for Cloud Datastore), before flushing them out. The writes are non-transactional and thus do not support duplicate keys in the writes. This can be problem, especially when using a non global windowing, where multiple windows for the same key end up in the same batch, and prevents the writes from succeeding. 



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