You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/13 20:42:00 UTC

[jira] [Commented] (KAFKA-5363) Add ability to batch restore and receive restoration stats.

    [ https://issues.apache.org/jira/browse/KAFKA-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048378#comment-16048378 ] 

ASF GitHub Bot commented on KAFKA-5363:
---------------------------------------

GitHub user bbejeck opened a pull request:

    https://github.com/apache/kafka/pull/3325

    KAFKA-5363 [WIP] : Initial cut at implementing bulk load for persistent stat…

    …e stores

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bbejeck/kafka KAFKA-5363_add_ability_to_batch_restore

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3325.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3325
    
----
commit 012cc64568ed95fc8cc240536f645179aa3a7cec
Author: Bill Bejeck <bi...@confluent.io>
Date:   2017-06-06T21:49:25Z

    KAFKA-5363: Initial cut at implementing bulk load for persistent state stores
    
    KAFKA-5363: Initial cut at implementing bulk load for persistent state stores
    
    KAFKA-5363: added state store recovery benchmark
    
    KAFKA-5363: remove unused import.
    
    KAFKA-5363: Separated out listening to restoration events in separate interface, allows for notifications from current state stores and custom state stores.
    
    KAFKA-5363: minor cleanup

----


> Add ability to batch restore and receive restoration stats.
> -----------------------------------------------------------
>
>                 Key: KAFKA-5363
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5363
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Bill Bejeck
>            Assignee: Bill Bejeck
>              Labels: kip
>             Fix For: 0.11.1.0
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)