Skip to content
Leader docs0.4

Repository and learning map

Latest stable Based on Leader release 0.4.0

Understand which modules define contracts, implement storage, integrate frameworks, and demonstrate complete scenarios.

Leader repository and learning map

leader-core owns API semantics and local implementations. Backend modules implement those contracts against Redis, SQL, document stores, coordination systems, or Kubernetes. Framework modules integrate Spring Boot, Ktor, and Micrometer. The 17 examples/* projects combine these pieces into runnable operational scenarios.

Read core before a backend so contention, cancellation, and lease semantics remain stable when infrastructure changes. Read a framework page only after choosing an elector. Use examples to validate startup, shutdown, metrics, and failure behavior; do not add example projects as dependencies because they are excluded from publication.

Release 0.4.0 marks core, Redis, Exposed, MongoDB, Hazelcast, ZooKeeper, framework integrations, and Micrometer as stable. DynamoDB, etcd, Consul, and Kubernetes are preview modules. Preview means the operational contract deserves extra integration tests and rollback planning, not that contention semantics change.

These diagrams are loaded directly from README assets published with the 0.4.0 release and pinned to its immutable commit. They describe this manual’s released structure and runtime flows, not later Snapshot changes. Select a preview to open the SVG at the same release commit.

Leader election runtime map

Release README: README.md

How runIfLeader Works diagram

Release README: README.md

Multi-leader group: slot-based semaphore diagram

Section titled “Multi-leader group: slot-based semaphore diagram”

Multi-leader group: slot-based semaphore diagram

Release README: README.md

Bluetape4k Leader overview diagram

Release README: README.md