momo-jun commented on PR #15239:
URL: https://github.com/apache/pulsar/pull/15239#issuecomment-1111837698

   @liangyepianzhou I proposed some suggestions to make the instructions easier 
to read and understand by changing the ordered/unordered list plus other minor 
fixes. To provide a comprehensive understanding, you can preview my suggestions 
as follows. 
   
   The offloaded data is stored as `MapFile` in the following new path of the 
filesystem:
   …
     * `storageBasePath` is the value of `hadoop.tmp.dir`, which is configured 
in `broker.conf` or `filesystem_offload_core_site.xml`.
     * `managedLedgerName` is the ledger name of the persistentTopic manager. 
         ...
        You can use the following method to get `managedLedgerName`.
         …
   
   To read data out as ledger entries from the filesystem, complete the 
following steps.
   1. Create a reader to read both `MapFile`  with a new path and the 
`configuration` of the filesystem.
       ...
   2. Read the data as `LedgerEntry` from the filesystem.
       ...
   3. Deserialize the `ledgerEntry` to `Message`.
       ...
   
   Note that the capitalization of `LedgerEntry` in step2 and `ledgerEntry` in 
step3 is different, which may confuse users.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to