You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/08/16 13:10:34 UTC

[GitHub] [pulsar] nicoloboschi opened a new pull request, #17117: [feat][connector] ElasticSearch Sink: add a option to copy key fields into the value

nicoloboschi opened a new pull request, #17117:
URL: https://github.com/apache/pulsar/pull/17117

   ### Motivation
   
   Add the ability to add the key fields to the document. With this option the resulting document will contain both key and value fields if schema is enabled and the message is JSON/Avro format.
   
   ### Modifications
   
   * New option `copyKeyFields` default to `false`. If true, the key fields will be copied to the document.
   
   In order to be activated it's required to:
   - set `copyKeyFields` to true
   - set `schemaEnable` to true
   - the message format be in JSON or AVRO
   - message value is not null
   
     
   - [x] `doc` 
   


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] nicoloboschi merged pull request #17117: [feat][connector] ElasticSearch Sink: add a option to copy key fields into the value

Posted by GitBox <gi...@apache.org>.
nicoloboschi merged PR #17117:
URL: https://github.com/apache/pulsar/pull/17117


-- 
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: commits-unsubscribe@pulsar.apache.org

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