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 2017/12/19 18:45:13 UTC

[GitHub] mgodave opened a new pull request #987: Add Type information to Pulsar client interface

mgodave opened a new pull request #987: Add Type information to Pulsar client interface
URL: https://github.com/apache/incubator-pulsar/pull/987
 
 
   ### Motivation
   
   The pulsar client currently only deals in byte arrays as messages. We are working towards adding richer type information to pulsar so clients will be able to publish and consume data in a a rich, structured format. This will be further augmented with schema data by way of a pulsar schema registry.
   
   ### Modifications
   
   We have added type information to the PulsarClient, Publisher, Consumer, and Message interfaces, as well as associated listeners. In addition, the concept of a codec has been added to allow conversion between the wire format and the inflated type, and vice versa. 
   
   ### Result
   
   Clients will still be able to use the interfaces as-is to send and receive raw bytes. In addition they will also be able to define codecs to convert between their domain types and raw bytes for storage. After this change they will be able to send and receive inflated domain objects.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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