Toggle Menu

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

A comparison of Java frameworks

A comparison of Java frameworks

This week’s example contains a microbenchmark that collects the compile time, startup time, memory usage, and load time of simple “Hello World”-like apps in Spring, Quarkus, Micronaut, and Helidon.

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.

Next.js/Astra Starter

A sample Next.js, DataStax Astra starter app.

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.

Filter by

  • Products
  • Language
Clear All

Reactive Programming in Java

Use reactive programming in Java applications with Cassandra and DataStax databases

By: Alexandre Dutra, Cedrick Lunven

Last updated: Oct 30, 2019

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