Prerequisites
This tutorial requires the Aerospike Graph repository and three dependencies. Before proceeding, install the following:
Required
Docker
Docker runs the Aerospike Graph Service and Aerospike Database layers in pre-configured containers. Download and install Docker Desktop from the Docker website.
After installation, verify Docker is running:
docker --versionYou should see output similar to:
Docker version 24.0.0, build abc1234Java
This tutorial uses Java to connect to AGS and execute Gremlin queries. Install Java SE 17.
After installation, verify Java is available:
java -versionYou should see output similar to:
java version "17.0.2" 2022-01-18 LTSJava(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)Maven
This tutorial uses Maven to manage dependencies and build the project. Install Maven from maven.apache.org.
After installation, verify Maven is available:
mvn -versionYou should see output similar to:
Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)Maven home: /usr/local/Cellar/maven/3.9.0/libexecJava version: 17.0.2, vendor: Oracle CorporationThis tutorial uses the Apache TinkerPop Gremlin driver for Java (gremlin-driver) to communicate with AGS. Maven will automatically download this library and its dependencies when you build the project.
Optional
Git
While not strictly required, Git makes it easier to clone the repository. If you do not have Git installed, you can download the repository as a ZIP file from GitHub instead.
Install Git from git-scm.com.