FairFeather is the jobs server for the estate. It delivers Bubbl’s outbox to Redfly, runs Cassandra repair and encrypted nightly snapshots for every service, and purges expired telemetry, all over Pulsar.
About the project
FairFeather is the jobs server. Pulsar is its only broker. It owns three job types: outbox delivery from Bubbl to Redfly’s master DB, Cassandra maintenance (incremental repair and nightly snapshots) for Bubbl, Caulight, Redfly, DarkCrow and itself, and the nightly telemetry retention purge in DarkCrow.
Data replication between replicas is native to Cassandra, so FairFeather does not copy data. Bubbl exports, imports and fact sheets stay in Bubbl.
Runtime
- JDK 17 and Kotlin 2.2.21 (the template’s
kotlin.versionis overridden to 2.2.21). - Spring Boot 4.1.3 (
spring-boot-starter-parent), with the Maven wrapper included. - Group id
ca.odssbc, version0.0.1-SNAPSHOT, built with Maven as a flat JAR plus an assembly zip. - Kept starters: Cassandra, Data Cassandra, Mustache, Pulsar, Security, OAuth2 client, Spring Session (Redis), WebMVC, WebSocket and Jackson Kotlin.
- Removed starters: AMQP, Kafka and Kafka Streams, along with their test starters. Pulsar is the only message broker.
- Package root
ca.odssbc.fairfeather, built fromtemplate/fairfeather-spring-template.zip. - Cassandra 5.0.9 runs inside the app JVM for job state, and Spring Session uses the embedded SeaWave.
Deployment
- StatefulSet
fairfeatherwith 3 replicas, PVCs and mTLS. - Scheduled jobs run only on the SunLink leader.
- Pulsar consumers run on every replica.
Dependencies
Embedded (in-process)
- SunLink
- SeaWave
- Cassandra 5.0.9
Libraries
- The Pulsar client
- An S3 SDK (AWS SDK v2 with an endpoint override)
- Apache Shiro
- redfly-client
External
- Pulsar
- S3-compatible storage
Build and packaging
- Maven, producing a flat JAR repackage and an assembly zip.
- Dependency versions are the latest stable at build time.