The following example will create the packt_ch3 keyspace. When a write occurs, one replica will be written to the cluster. Writes will also be sent to the commit log for extra durability:
CREATE KEYSPACE IF NOT EXISTS packt_ch3 WITH replication = {'class': 'NetworkTopologyStrategy', 'ClockworkAngels':'1'} AND durable_writes = true;