zhaijack opened a new pull request #1651: PIP-17: provide DataBlockHeader and BlockAwareSegmentInputStream implementation URL: https://github.com/apache/incubator-pulsar/pull/1651 ### Motivation - provide DataBlockHeader implementation; - Implementation of InputStream(BlockAwareSegmentInputStream). when calls the is.read(), it return the following data: 1. Block header 2. Ledger entries starting from passed in entryId 3. Padding in the with byte 0xA ### Modifications Add class DataBlockHeader and BlockAwareSegmentInputStream, Add test for them ### Result unit test pass.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
