Add an environment property toggle via @ConditionalOnProperty for CassandraAutoConfiguration which defaults to true (#30560)

Comment From: wilkinsona

Generally speaking, we avoid having enable properties for auto-configuration as it duplicates what can be achieved by excluding the auto-configuration. Have you considering setting spring.autoconfigure.exclude as described in the documentation?

Comment From: wakingrufus

oh, I was not aware of the spring.autoconfigure.exclude property. I will try this out, thanks!

Comment From: wakingrufus

This worked for me. Thanks @wilkinsona !