[ 
https://issues.apache.org/jira/browse/STORM-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069180#comment-15069180
 ] 

ASF GitHub Bot commented on STORM-1175:
---------------------------------------

Github user arunmahadevan commented on a diff in the pull request:

    https://github.com/apache/storm/pull/939#discussion_r48323078
  
    --- Diff: storm-core/src/jvm/backtype/storm/Config.java ---
    @@ -1491,6 +1491,29 @@
         public static final String TOPOLOGY_COMPONENT_CPU_PCORE_PERCENT = 
"topology.component.cpu.pcore.percent";
     
         /**
    +     * The class name of the {@link backtype.storm.state.StateProvider} 
implementation. If not specified
    +     * defaults to {@link 
backtype.storm.state.InMemoryKeyValueStateProvider}. This can be overridden
    +     * at the component level.
    +     */
    +    @isString
    +    public static final String TOPOLOGY_STATE_PROVIDER = 
"topology.state.provider";
    +
    +    /**
    +     * The configuration specific to the {@link 
backtype.storm.state.StateProvider} implementation.
    +     * This can be overridden at the component level.
    +     */
    +    @isString
    +    public static final String TOPOLOGY_STATE_PROVIDER_CONFIG = 
"topology.state.provider.config";
    --- End diff --
    
    For now we expect the actual config string (for redis, its a json string 
with the host, port etc). it could be a file name as well, if the state 
provider implementation desires so.


> State store for windowing operations
> ------------------------------------
>
>                 Key: STORM-1175
>                 URL: https://issues.apache.org/jira/browse/STORM-1175
>             Project: Apache Storm
>          Issue Type: Sub-task
>            Reporter: Arun Mahadevan
>            Assignee: Arun Mahadevan
>
> Windowing operations should be able to save the results of partial 
> computations in a state store. This should persist across restarts and bolts 
> should be able to look up the values from the store.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to