cassandra template java config