You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 18:22:08 UTC

[GitHub] [beam] damccorm opened a new issue, #20640: Write with custom indexName and docId not present in document itself

damccorm opened a new issue, #20640:
URL: https://github.com/apache/beam/issues/20640

   ElasticIO connector write method is taking currently as input a "PCollection<String\>" element ; string value will be passed as ElasticSearch document body. With methods withIdFn, and withIndexFn, we can overload Elastic document id and index name at runtime.
   
   There is some kind of situation where indexName and/or docId are not present in document itself (for example from Google Pubsub metadata or other).
   
   Is there a way to implement this usecase with current ElasticIO ? Otherwise, if it makes sense for you, what kind of improvment can be performed on connector ?
   
   Imported from Jira [BEAM-11276](https://issues.apache.org/jira/browse/BEAM-11276). Original Jira may contain additional context.
   Reported by: lionelsetan.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org