package org.apache.kafka.streams.processor.internals;
interface GlobalStateMaintainer {
void close() throws IOException;
void flushState();
Map<TopicPartition, Long> initialize();
void update(ConsumerRecord<byte[], byte[]> record);
}
GlobalStateMaintainer
GlobalStateMaintainer
is the contract for managing global state stores.
Method | Description |
---|---|
|
Used when…FIXME |
|
|
|
|
|
Note
|
GlobalStateUpdateTask is the one and only GlobalStateMaintainer .
|