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 2019/04/24 09:45:29 UTC
[GitHub] [pulsar] tuteng opened a new pull request #4117:
[pulsar-clients]Store key part of a KeyValue schema into pulsar message keys
tuteng opened a new pull request #4117: [pulsar-clients]Store key part of a KeyValue schema into pulsar message keys
URL: https://github.com/apache/pulsar/pull/4117
### Motivation
The current implementation of KeyValue schema stores key and value together as part of message payload. Ideally the key should be stored as part of message key.
It can be done by introducing a property in KeyValue schema to indicate whether store key in payload or as message key.
### Modifications
* Add keyIsStoredToMessage for encode and decode of KeyValueSchema
### Verifying this change
Unit test pass
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services