Maven project setup for cassandra

Which maven project do you’ll recommend for cassandra spring is it

org.springframework.boot spring-boot-starter-data-cassandra 2.1.6.RELEASE

or

com.yugabyte cassandra-driver-core 3.2.0-yb-12

@amey is the resident expert in the Spring area… he can answer this.

Hey @Sherwin_Pinto,

You can start with spring-boot-starter-parent 2.0.4.RELEASE and then include these following dependencies for starter-data-cassandra and YB-driver. We have these available in a working Spring microservices project at https://github.com/YugaByte/yugastore-java/blob/master/products-microservice/pom.xml

Dependencies -

<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-data-cassandra</artifactId>
			<exclusions>
				<exclusion>
					<groupId>com.datastax.cassandra</groupId>
   					<artifactId>cassandra-driver-core</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
		  <groupId>com.yugabyte</groupId>
		  <artifactId>cassandra-driver-core</artifactId>
		  <version>3.2.0-yb-18</version>
		</dependency>