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/03 22:53:49 UTC

[GitHub] [beam] kennknowles opened a new issue, #19182: Allow modification of JSON value before writing to ElasticSearch

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

   I have an Apache Beam streaming job which reads data from Kafka and writes to ElasticSearch using ElasticSearchIO.
   
   The issue I'm having is that messages in Kafka already have _`key`_ field, and using `ElasticSearchIO.Write.withIdFn()` I'm mapping this field to document _`_id`_ field in ElasticSearch.
   
   Having a big volume of data I don't want the _`key`_ field to be also written to ElasticSearch as part of _`_source`_.
   
   Is there an option/workaround that would allow doing that?
   
   Imported from Jira [BEAM-6168](https://issues.apache.org/jira/browse/BEAM-6168). Original Jira may contain additional context.
   Reported by: marknorkin.


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