aeron-cookbook-code
aeron-cookbook-code copied to clipboard
Source code related to Aeron Cookbook
Aeron Cookbook Code Samples
Samples which should be reviewed alongside Aeron Cookbook
Note: JDK 17+ requires that
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
is added to the VM Options to run the examples.
Projects:
-
sbe-core
andsbe-protocol
- a project defining an SBE schema, along with some tests showing how to use it. -
ipc-core
andasync
- focused on Aeron IPC samples. Also contains the minimal Aeron one file sample. -
aeron-core
andaeron-mdc
- a sample Aeron UDP client and server, with basic UDP and Multi-destination cast. Multi-destination cast example includes docker. -
archive-core
andarchive-multi-host
andarchive-replciation
- Aeron Archive samples, including multiple hosts under docker and archive replication across multiple nodes. -
cluster-rsm
andrfq
- Aeron Cluster samples, using SBE for the protocol -
theory
- examples from the Distributed Systems Basics section
Requires:
- Java 21
- Gradle 8.5
- Docker (to run some samples)
Sample code from Aeron cookbook.