Config config = new Config();
config.setMaxSpoutPending(25);
config.put("cassandra.config", clientConfig);
StateFactory cassandraStateFactory = null;
Options options = null;
switch(txType){
case TRANSACTIONAL:
options = new Options<TransactionalValue>();
options.columnFamily = "transactional";
cassandraStateFactory = CassandraMapState.transactional(options);