revamping the cassandra extension to use exclude patterns