nicktelford opened a new pull request, #14853:
URL: https://github.com/apache/kafka/pull/14853

   The type hierarchy of RocksDB's `WriteBatch` looks like this:
   
   ```
           +---------------------+
           | WriteBatchInterface |
           +---------------------+
                      ^
                      |
           +---------------------+
           |  AbstractWriteBatch |
           +---------------------+
                      ^
                      |
           +----------+----------+
           |                     |
    +------------+    +---------------------+
    | WriteBatch |    | WriteBatchWithIndex |
    +------------+    +---------------------+
   ```
   
   By switching our `BatchWritingStore` methods from `WriteBatch` to 
`WriteBatchInterface`, we enable the use of `WriteBatchWithIndex` as well.


-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to