Overview of Aeron Archive features
masteraeron-archive is a module for recording and replaying Aeron data streams from durable storage.
Key capabilities include:
- Record: Capture a specific subscription (
<channel, streamId>). Local network publications use the spy feature for efficiency. If no subscribers are active, you can advance the stream by setting the system propertyaeron.spies.simulate.connection=true. - Extend: Append data to an existing recording.
- Replay: Replay a
recordingIdfrom a specificpositionfor a givenlength. UsingAeron.NULL_VALUEfor length results in an open-ended replay that stops at the recording's stop position. - Query: Access the catalog for existing recordings and check the recorded position of active recordings.
- Truncate: Shorten a stopped recording. Truncating to the start position effectively deletes the recording.
- Replay Merge: Allows a late-joining subscriber to replay a recording and then merge with the live stream.
- Replicate: Copy recordings from a source to a destination archive. When using replication, configure the destination channel using
aeron.archive.replication.channel. - Storage Maintenance: Perform purge, detach, delete, attach, and migrate operations on recording segments.