DarkCrow is the telemetry store and search service. It takes in the pseudonymous telemetry Redfly publishes, keeps it for one year, and gives operators and tenant admins fast full-text and faceted search.
About the project
DarkCrow is the telemetry store and search service in the Olivia Douglas Support Services BC estate. It consumes pseudonymous telemetry that Redfly publishes to Pulsar, stores it in Cassandra for one year, indexes it in embedded Solr, and serves search to operators and tenant admins.
Telemetry flows from clients to Redfly, which validates it and publishes it to Pulsar. DarkCrow is the only consumer that stores it.
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.darkcrow, built fromtemplate/darkcrow-spring-template.zip. - Cassandra 5.0.9 runs inside the app JVM on
127.0.0.1:9042. - Spring Session (Redis) uses the embedded SeaWave on
127.0.0.1:6379.
Deployment
- StatefulSet
darkcrowwith 3 replicas and a headless service. - Persistent volume claims for the Cassandra and Solr data directories.
- mTLS in the cluster.
Dependencies
Embedded (in-process)
- Solr 9.11.0
- Cassandra 5.0.9
- SunLink
- SeaWave
Libraries
- Apache Shiro
- The Pulsar client
- redfly-client, for token verification
External
- Pulsar
- Redfly, which only publishes the data
Build and packaging
- Maven, producing a flat JAR repackage and an assembly zip.
- Dependency versions are the latest stable at build time.