Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

In terms of implementation where does Storm stores the derived aggregation into? Does it use any embedded key value store etc?

avatar
 
1 ACCEPTED SOLUTION

avatar
Super Guru

@milind pandit

Storm core has abstractions for bolts to save and retrieve the state of its operations. There is a default in-memory based state implementation and also a Redis backed implementation that provides state persistence.

Currently the only kind of State implementation that is supported is KeyValueState which provides key-value mapping.

Bolts that requires its state to be managed and persisted by the framework should implement the IStatefulBolt interface or extend the BaseStatefulBolt and implement void initState(T state) method.

Please see following link for details:

http://storm.apache.org/releases/2.0.0-SNAPSHOT/State-checkpointing.html

View solution in original post

1 REPLY 1

avatar
Super Guru

@milind pandit

Storm core has abstractions for bolts to save and retrieve the state of its operations. There is a default in-memory based state implementation and also a Redis backed implementation that provides state persistence.

Currently the only kind of State implementation that is supported is KeyValueState which provides key-value mapping.

Bolts that requires its state to be managed and persisted by the framework should implement the IStatefulBolt interface or extend the BaseStatefulBolt and implement void initState(T state) method.

Please see following link for details:

http://storm.apache.org/releases/2.0.0-SNAPSHOT/State-checkpointing.html