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.


---
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.
---

Reply via email to