Datastax

Examples

Search through our library of code and applications to help you get things done faster with DataStax and Apache Cassandra.

Visit us on Github

Example of the Week

Spring Pet Clinic Reactive

Spring Pet Clinic Reactive

This week’s example is a new reactive implementation of the Spring Pet Clinic backend that uses Spring WebFlux and Cassandra (via DataStax Astra).

Go to github

Our Most Popular Examples

Spring Data Cassandra REST API

This application uses Spring Data Cassandra and DataStax Astra to build a REST API for a backend service that interacts with products and orders.

Go to GitHub

Next.js/Astra Starter

A sample Next.js, DataStax Astra starter app.

Go to GitHub

Microservices with Spring, Kubernetes, and Cassandra

This example contains sample inventory microservices to demonstrate how to use Spring, Kubernetes and Cassandra together a single stack.

Go to Github

Filter by

  • Products
  • Language
Clear All

Serverless Azure Functions

Use Azure Functions with the Node.js DataStax Driver to set up a Cassandra REST API with the Serverless Framework

By: Chris Splinter

Last updated: Oct 29, 2019

Avro from Kafka to DataStax

Ingest Avro records from Kafka to a table in the database using the DataStax Apache Kafka Connector

By: Chris Splinter, Tomasz Lelek

Last updated: Oct 29, 2019

Serverless AWS Lambda

Use AWS Lambda Functions with the Node.js DataStax Driver to set up a Cassandra REST API with the Serverless Framework

By: Chris Splinter

Last updated: Oct 29, 2019

Serverless Google Cloud Functions

Use Google Cloud Functions with the Node.js DataStax Driver to set up a Cassandra REST API with the Serverless Framework.

By: Chris Splinter

Last updated: Oct 29, 2019

JSON from Kafka to DataStax

Ingest JSON records from Kafka to multiple tables in the database using the DataStax Apache Kafka Connector

By: Chris Splinter, Tomasz Lelek

Last updated: Oct 28, 2019

Object Mapper in Java

Basic example of the Java DataStax Driver Object Mapper with Cassandra

By: Olivier Michallat, Hsu-Kwang Hwang

Last updated: Aug 7, 2019

Querying Blobs in Java

Write and read blobs with Cassandra using the Java DataStax Driver

By: Olivier Michallat, Tomasz Lelek

Last updated: Aug 3, 2019

Concurrent Requests in Java

Execute multiple concurrent requests asynchronously with Cassandra using the Java DataStax Driver

By: Tomasz Lelek

Last updated: Aug 2, 2019

DataStax Java Driver for Apache Cassandra® Quickstart

A basic demo CRUD application using the DataStax Java driver

By: Rebecca Mills

Last updated: Jul 17, 2019

DataStax Node.js Driver for Apache Cassandra® Quickstart

A basic demo CRUD application using the DataStax Node.js driver

By: Rebecca Mills

Last updated: Jul 16, 2019

Concurrent Requests in Python

Execute multiple concurrent requests asynchronously with Cassandra using the Python DataStax Driver

By: Alan Boudreault

Last updated: Jul 4, 2019

DataStax Python Driver for Apache Cassandra® Quickstart

A basic demo CRUD application using the DataStax Python driver

By: Rebecca Mills

Last updated: May 30, 2019