Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2203

Add a getAll method to KeyValueState interface

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 1.1.0
    • Component/s: storm-core
    • Labels:
      None

      Description

      A getAll method which would return all the key value pairs present in the state could be really useful in Stateful bolts. Example use case - Loop over all key value pairs in state on receiving a tick tuple and store all values satisfying a given criterion to database.
      I'll be happy to provide a patch if you guys think it's a good idea.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aandis Abhishek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m