use of org.apache.storm.trident.state.StateFactory in project storm by apache.
the class MapStateTest method opaqueStateTest.
@Test
public void opaqueStateTest() throws Exception {
Map<String, Object> config = new HashMap();
StateFactory factory = MapStateFactoryBuilder.opaque(getCassandraConfig()).withTable("words_ks", "words_table").withKeys("word").withJSONBinaryState("state").build();
wordsTest(factory);
}
Aggregations