jerrypeng opened a new pull request #2832: allow storm topologies to use the 
heron state interface
URL: https://github.com/apache/incubator-heron/pull/2832
 
 
   To use the heron state interface uses will need to add these configs:
   
   conf.put(com.twitter.heron.api.Config.TOPOLOGY_RELIABILITY_MODE, 
com.twitter.heron.api.Config.TopologyReliabilityMode.EFFECTIVELY_ONCE);
       
conf.registerSerialization(com.twitter.heron.api.state.HashMapState.class);
   
   in addition to implementing the stateful component interface:
   
   public static class AckingTestWordSpout extends BaseRichSpout implements 
IStatefulComponent<String, String>{
   .
   .
   .
   }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to