Skip to content

aeron-io/aeron-cookbook-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6776b6a · Jan 29, 2025
Dec 2, 2023
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Feb 18, 2023
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jul 13, 2023
Jan 20, 2025
Mar 13, 2023
Mar 10, 2023
Jan 29, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Jan 20, 2025
Apr 14, 2023

Repository files navigation

Aeron Cookbook Code Samples

Samples which should be reviewed alongside Aeron Cookbook

Note: This code in this repo is for demonstration purposes only and is not representative of a production system. Please contact info@aeron.io for help configuring your system.

Note: JDK 17+ requires that --add-opens java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/java.util.zip=ALL-UNNAMED is added to the VM Options to run the examples.

Projects:

  • sbe-core and sbe-protocol - a project defining an SBE schema, along with some tests showing how to use it.
  • ipc-core and async - focused on Aeron IPC samples. Also contains the minimal Aeron one file sample.
  • aeron-core and aeron-mdc - a sample Aeron UDP client and server, with basic UDP and Multi-destination cast. Multi-destination cast example includes docker.
  • archive-core and archive-multi-host and archive-replciation - Aeron Archive samples, including multiple hosts under docker and archive replication across multiple nodes.
  • cluster-rsm and rfq - 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)

build

Sample code from Aeron cookbook.