Interface RecordBatchingStateRestoreCallback
-
- All Superinterfaces:
BatchingStateRestoreCallback,StateRestoreCallback
public interface RecordBatchingStateRestoreCallback extends BatchingStateRestoreCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidrestoreAll(java.util.Collection<KeyValue<byte[],byte[]>> records)Called to restore a number of records.voidrestoreBatch(java.util.Collection<org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]>> records)-
Methods inherited from interface org.apache.kafka.streams.processor.BatchingStateRestoreCallback
restore
-
-
-
-
Method Detail
-
restoreBatch
void restoreBatch(java.util.Collection<org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]>> records)
-
restoreAll
default void restoreAll(java.util.Collection<KeyValue<byte[],byte[]>> records)
Description copied from interface:BatchingStateRestoreCallbackCalled to restore a number of records. This method is called repeatedly until theStateStoreis fulled restored.- Specified by:
restoreAllin interfaceBatchingStateRestoreCallback- Parameters:
records- the records to restore.
-
-