GitHub user ymatsuda opened a pull request:
https://github.com/apache/kafka/pull/387
KAFKA-2706: make state stores first class citizens in the processor topology
* Added StateStoreSupplier
* StateStore
* Added init(ProcessorContext context) method
* TopologyBuilder
* Added addStateStore(StateStoreSupplier supplier, String... processNames)
* Added connectProessorAndStateStores(String processorName, String...
stateStoreNames)
* This is for the case processors are not created when a store is added
to the topology. (used by KStream)
* KStream
* add stateStoreNames to process(), transform(), transformValues().
* Refactored existing state stores to implement StateStoreSupplier
@guozhangwang
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ymatsuda/kafka state_store_supplier
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/387.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 #387
----
commit 97869c26fe503818dc57b62671f7d82450b002c1
Author: Yasuhiro Matsuda <[email protected]>
Date: 2015-10-29T23:19:30Z
KAFKA-2706: make state stores first class citizens in the processor topology
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---