-
Notifications
You must be signed in to change notification settings - Fork 10
Home
![](https://github.com/datastax/astra-sdk-java/raw/main/docs/img/astra-sdk-logo.png?raw/true)
This SDK (Software Development Kit) makes it easy to call Stargate and/or Astra services using idiomatic Java APIs.
![](https://github.com/datastax/astra-sdk-java/raw/main/docs/img/sdk-overview.png?raw/true)
-
The Stargate SDK works with both Stargate standalone installations and Stargate deployed in Astra. With standalone Stargate deployments you will initialize the framework with the class
StargateClient
and provide a list of nodes (IP). To start locally please follow Stargate SDK quickstart guide. The nodes will run in Docker. -
The Astra SDK reuses the previous library and setup the connection to work with AstraDB cloud-based service. You work with the class
AstraClient
(that configureStargateClient
for you). As you can see on the figure below theAstraClient
handles not only Stargate Apis but also Astra Devops Api and Apache Pulsar. To get started follow the Astra SDK quickstart guide. -
The Astra Spring Boot Starter: Imported in a Spring Boot application, it configures both
Astra SDK
andSpring Data Cassandra
to work with AstraDB. Configuration is read inapplication.yaml
. The starter will initialize any beans you would need (AstraClient
,CqlSession
,StargateClient
. To get started follow the Astra Spring Boot Starter QuickStart guide.
🏠 Home | Document | Rest | Native Drivers | GraphQL | gRPC | Astra Devops |