Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Cassandra Java Client
Java
Failed to load latest commit information.
astyanax-cassandra move up cassandra version to 2.0.9 and java driver to 2.0.5
astyanax-contrib Remove tests on unused code
astyanax-core Exclude out org.apache.cassandra.deps groupid again in the right sub-…
astyanax-cql Inject the appropriate monitor object for CQL Java Native driver
astyanax-entity-mapper Cleanup conf directory to be src/main/resources. Put resources in res…
astyanax-examples move up cassandra version to 2.0.9 and java driver to 2.0.5
astyanax-queue Cleanup conf directory to be src/main/resources. Put resources in res…
astyanax-recipes Cleanup conf directory to be src/main/resources. Put resources in res…
astyanax-test move up cassandra version to 2.0.9 and java driver to 2.0.5
astyanax-thrift move up cassandra version to 2.0.9 and java driver to 2.0.5
astyanax Move to java 1.6 compatibility (nebula.netflixoss defaults to 1.7)
codequality NetflixOSS build upgrade
gradle/wrapper NetflixOSS build upgrade
.gitignore Removing merge line that slipped in.
CHANGELOG.md Remove unneeded version property. CHANGELOG to expected name
LICENSE.txt Added LICENSE
NOTICE.txt Added LICENSE
README.txt Updated hector link in README.txt to match Readme.markdown
Readme.markdown Update Readme.markdown
build.gradle move up cassandra version to 2.0.9 and java driver to 2.0.5
dependency-versions.gradle move up cassandra version to 2.0.9 and java driver to 2.0.5
gradle.properties Remove unneeded version property. CHANGELOG to expected name
gradlew Upgrading to Gradle 1.4
gradlew.bat Upgrade to Gradle 1.1.
index.html Put something in index.html
settings.gradle moving tests to new module astyanax-test

Readme.markdown

Astyanax

Astyanax is a high level Java client for Apache Cassandra. Apache Cassandra is a highly available column oriented database.

Astyanax is currently in use at Netflix. Issues generally are fixed as quickly as possible and releases done frequently.

Artifacts

Astyanax jars are published to Maven Central. As of astyanax 1.56.27 the project has been split into multiple sub project, each of which needs to be pulled in separately.

Required artifacts

GroupID/Org ArtifactID/Name
com.netflix.astyanax astyanax-core
com.netflix.astyanax astyanax-thrift
com.netflix.astyanax astyanax-cassandra

Optional artifacts

GroupID/Org ArtifactID/Name
com.netflix.astyanax astyanax-queue
com.netflix.astyanax astyanax-entity-mapper
com.netflix.astyanax astyanax-recipes

Features

A quick overview can be found at the Netflix Tech Blog. Some features provided by this client:

  • High level, simple object oriented interface to Cassandra.
  • Fail-over behavior on the client side.
  • Connection pool abstraction. Implementation of a round robin connection pool.
  • Monitoring abstraction to get event notification from the connection pool.
  • Complete encapsulation of the underlying Thrift API and structs.
  • Automatic retry of downed hosts.
  • Automatic discovery of additional hosts in the cluster.
  • Suspension of hosts for a short period of time after several timeouts.
  • Annotations to simplify use of composite columns.

Documentation

Detailed documentation of Astyanax's features and usage can be found on the wiki and the getting started guide.

Ancient History

Astyanax was the son of Hector who was Cassandra's brother in greek mythology.

Modern History

This work was initially inspired by Hector.

Something went wrong with that request. Please try again.