07 Connecting Spring Boot app to DataStax Astra - Build a book tracker app (Spring Boot + Cassandra)

preview_player
Показать описание
Click here to register for a free account on DataStax (Required for following along the series):

GitHub Link:

Minimal data dump files to use:

In this video:
------------------------------------------
In this video, we will walk through step by step instructions to connect the Spring Boot application to the hosted Apache Cassandra instance on DataStax Astra.

Release schedule:
New video released every 3 days.

Welcome to this Code With Me Series where we build a Good Reads clone using Java, Spring Boot and Apache Cassandra. The goal of this series is to build a full web application that is scalable and highly available.

The series will walk you through the application, system and UI design and development.

Technologies:
Application Tier: Spring Boot
Database: Apache Cassandra
Data Layer: Spring Data Cassandra
Security: Spring Security
View Layer: Thymeleaf

The idea of the series is sponsored by DataStax. All content created and produced by Java Brains.

#CodeWithMe #SpringBoot #Cassandra
Рекомендации по теме
Комментарии
Автор

amazing content...keep creating these courses for us...thank you

sitaful
Автор

Education is business...thanks for realising it again

shasha
Автор

Excited to continue coding this series. Thanks!

erikbustos
Автор

You can copy the Bean definition from below. Make sure you get the necessary Imports in place (Use Alt+Shift+O in Windows for applying quick fix to imports).

@Bean
public CqlSessionBuilderCustomizer astraProperties) {
Path bundle =
return builder ->
}

kartikeyvhebbar
Автор

Helpful content! keep up the good work ;)

m_at
Автор

Good to see this video, I am going to watch now.

NirdeshM
Автор

Hi koushik, watching this video i have a question that made me curious, why was it need to create a configuration properties file for datastax which had the bundle connect property used for connect

supreethhs
Автор

Hi Koushik, i am following the series but I ran into an erroneous condition, how to post the error to you to know what went wrong in following

supreethhs
Автор

This Datastax configuration isn't working at all. I've tried multiple things but I keep getting [s0] Authentication error (AuthenticationException: Authentication error on node

AbhishekVaid
Автор

@Koushik sir, I want to integrate spring boot application with ScyllaDB. How can i do that?? Could you please help me in this???

MohdMahebub
Автор

This astra dashboard does not give secure bundle anymore

womanwithtoomanyhobbies
Автор

Hi koushik. I noticed that commenting out all the properties under astra.db, the application is still able to connect to the database. What's the purpose of those properties?

vpezzano
Автор

I'm getting this error for my secure-bundle.zip, its not able to create a bundle object out of it:
... 37 common frames omitted
Caused by: Invalid bundle: missing file config.json

Has anyone faced the same? How can it be resolved?

sauravsingh
Автор

my datax.astra is not showing organization.settings option?

ravikiran
Автор

Hi, i am geeting below excepation while connecting to cassandra db from my spring boot application:

Exception encountered during context initialization - cancelling refresh attempt: Error creating bean with name 'cassandraSessionFactory' defined in class path resource Invocation of init method failed; nested exception is query 'SELECT * FROM system_schema.keyspaces' timed out after PT2S


help me to get a resolution for this?

SaurabhGupta-qync
Автор

i am having still error while I have done all the things like you did in this video same same

ahmadmujtaba
Автор

I am able to get through everything in this video when working from home, but on my school network, I am unable to connect to datastax from Java Spring.

Specifically, I get this error:

2022-04-22 11:41:18.616 WARN 1824 --- [ restartedMain] : Exception encountered during context initialization - cancelling refresh attempt: Error creating bean with name Unsatisfied dependency expressed through constructor parameter 0; nested exception is Error creating bean with name 'cassandraSession' defined in class path resource Bean instantiation via factory method failed; nested exception is Failed to instantiate Factory method 'cassandraSession' threw exception; nested exception is Unable to connect to cloud metadata service. Please make sure your cluster is not parked or terminated

ilangrapel
Автор

With such small code sessions, this course will be quite long...

narimo
Автор

Sir I want collection Generics videos permission..it's asking amount.. provide permission..

chintaramanaiah
Автор

what if i don't provide schema-action?

akankshakumari
visit shbcf.ru