Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5363

Add ability to batch restore and receive restoration stats.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • streams

    Description

      Currently, when restoring a state store in a Kafka Streams application, we put one key-value at a time into the store.

      This task aims to make this recovery more efficient by creating a new interface with "restoreAll" functionality allowing for bulk writes by the underlying state store implementation.

      The proposal will also add "beginRestore" and "endRestore" callback methods potentially used for
      Tracking when the bulk restoration process begins and ends.
      Keeping track of the number of records and last offset restored.

      KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-167%3A+Add+interface+for+the+state+store+restoration+process

      Attachments

        Issue Links

          Activity

            People

              bbejeck Bill Bejeck
              bbejeck Bill Bejeck
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: