/aeron-cookbook-code

Source code related to Aeron cookbook

Primary LanguageJavaApache License 2.0Apache-2.0

Aeron Cookbook Code Samples

Samples which should be reviewed alongside Aeron Cookbook

Projects:

  • sbe-core + sbe-protocol - a project defining an SBE schema, along with some tests showing how to use it.
  • cluster-core - Aeron cluster samples
  • ipc-core - focused on IPC samples. Contains the minimal Aeron one file sample, plus a project showing one-way IPC between two agents.
  • eider-spec - holds the eider specifications used; Eider code is generated externally and copied in to remove any compile time dependency.
  • theory - examples from the Distributed Systems Basics section
  • archive-core - focused on Aeron Archive samples.

Note: JDK 16+ requires that --illegal-access=permit is added to the VM Options to run the examples.

Requires:

  • Java 16
  • Gradle 7

Tested on Ubuntu 20 + macOS 11

build

Sample code from Aeron cookbook.