ProcessorStateManager
is a concrete AbstractStateManager that…FIXME
ProcessorStateManager
uses the -changelog
suffix for the name of storeChangelogTopic.
ProcessorStateManager
uses…FIXME…for the base directory.
void checkpoint(final Map<TopicPartition, Long> ackedOffsets)
Note
|
checkpoint is part of Checkpointable Contract to…FIXME.
|
checkpoint
…FIXME
ProcessorStateManager
takes the following when created:
-
Sources (as Kafka TopicPartitions)
-
eosEnabled
Flag (that corresponds to processing.guarantee configuration property)
ProcessorStateManager
initializes the internal registries and counters.
void register(
final StateStore store,
final StateRestoreCallback stateRestoreCallback)
Note
|
register is part of StateManager Contract to…FIXME.
|
register
…FIXME
void close(final Map<TopicPartition, Long> ackedOffsets) throws ProcessorStateException
Note
|
close is part of StateManager Contract to…FIXME.
|
close
…FIXME
StateStore getGlobalStore(final String name)
Note
|
getGlobalStore is part of StateManager Contract to…FIXME.
|
getGlobalStore
…FIXME
StateStore getStore(final String name)
Note
|
getStore is part of StateManager Contract to…FIXME.
|
getStore
…FIXME
void reinitializeStateStoresForPartitions(
final Collection<TopicPartition> partitions,
final InternalProcessorContext processorContext)
Note
|
reinitializeStateStoresForPartitions is part of StateManager Contract to…FIXME.
|
reinitializeStateStoresForPartitions
…FIXME
static String storeChangelogTopic(final String applicationId, final String storeName)
storeChangelogTopic
simply returns a [applicationId]-[storeName][STATE_CHANGELOG_TOPIC_SUFFIX]
.
Note
|
|