How absaoss/spline works
Spline captures execution plans and events from data-processing producers, stores them in ArangoDB, and exposes lineage and related metadata through consumer APIs. Producers can submit through REST or Kafka; both paths map versioned payloads into the producer model and persist them. Consumer endpoints retrieve plans and operation details, while the Foxx service provides database-side storage and lineage/impact capabilities. The admin CLI manages database setup, schema migration, retention, and Foxx installation. Several subsystem links are documented by the source index; unsampled runtime wiring is marked dashed and unevidenced.
Main entry points: ArangoManager.scala Database manager · IngestionController.scala REST ingestion · IngestionListener.scala Kafka ingestion · ExecutionPlansController.scala Plan queries
Components 19
Producer ingestion
- REST ingestion
producer-rest-core/src/main/scala/za/co/absa/spline/producer/rest/controller/IngestionController.scala - Kafka ingestion
kafka-gateway/src/main/scala/za/co/absa/spline/gateway/kafka/listener/IngestionListener.scala - Versioned mapping
producer-model-mapper/src/main/scala/za/co/absa/spline/producer/modelmapper/ModelMapper.scala - Execution plan model
producer-model/src/main/scala/za/co/absa/spline/producer/model/ExecutionPlan.scala
Persistence
- Producer repository
producer-services/src/main/scala/za/co/absa/spline/producer/service/repo/ExecutionProducerRepository.scala - ArangoDB
- Foxx persistence
arangodb-foxx-services/src/main/services/store.ts - Transaction manager
arangodb-foxx-services/src/main/services/txm/tx-manager-impl.ts
Consumer queries
- Plan queries
consumer-rest-core/src/main/scala/za/co/absa/spline/consumer/rest/controller/ExecutionPlansController.scala - Operation details
consumer-rest-core/src/main/scala/za/co/absa/spline/consumer/rest/controller/OperationDetailsController.scala - Consumer repositories
consumer-services/src/main/scala/za/co/absa/spline/consumer/service/repo/ExecutionPlanRepository.scala - Lineage and impact
arangodb-foxx-services/src/main/services/lineage-overview.ts
Database administration
- Admin CLI
admin/src/main/scala/za/co/absa/spline/admin/AdminCLI.scala - Database manager
admin/src/main/scala/za/co/absa/spline/arango/ArangoManager.scala - Schema versioning
persistence/src/main/scala/za/co/absa/spline/persistence/DatabaseVersionManager.scala - Foxx installer
admin/src/main/scala/za/co/absa/spline/arango/foxx/FoxxManagerImpl.scala
Other components
- Producer client
- API consumer
- Administrator
Connections 22
- Producer client → REST ingestion: submits plans
- Producer client → Kafka ingestion: publishes events
- REST ingestion → Versioned mapping: maps payloads
producer-rest-core/src/main/scala/za/co/absa/spline/producer/rest/controller/IngestionController.scala - REST ingestion → Producer repository: inserts plans
producer-rest-core/src/main/scala/za/co/absa/spline/producer/rest/controller/IngestionController.scala - Versioned mapping → Execution plan model: creates model
- Kafka ingestion → Versioned mapping: maps payloads
kafka-gateway/src/main/scala/za/co/absa/spline/gateway/kafka/listener/IngestionListener.scala - Kafka ingestion → Producer repository: inserts events
kafka-gateway/src/main/scala/za/co/absa/spline/gateway/kafka/listener/IngestionListener.scala - Producer repository → ArangoDB: persists records
- API consumer → Plan queries: requests plans
- API consumer → Operation details: requests details
- Plan queries → Consumer repositories: queries plans
consumer-rest-core/src/main/scala/za/co/absa/spline/consumer/rest/controller/ExecutionPlansController.scala - Operation details → Consumer repositories: queries expressions
consumer-rest-core/src/main/scala/za/co/absa/spline/consumer/rest/controller/OperationDetailsController.scala - Consumer repositories → ArangoDB: reads records
- Plan queries → Lineage and impact: uses lineage services
- Administrator → Admin CLI: runs commands
- Admin CLI → Database manager: manages database
- Database manager → Schema versioning: checks schema
admin/src/main/scala/za/co/absa/spline/arango/ArangoManager.scala - Database manager → Foxx installer: installs services
admin/src/main/scala/za/co/absa/spline/arango/ArangoManager.scala - Database manager → ArangoDB: creates collections
admin/src/main/scala/za/co/absa/spline/arango/ArangoManager.scala - Foxx persistence → ArangoDB: reads and writes
- Transaction manager → Foxx persistence: uses store
arangodb-foxx-services/src/main/services/txm/tx-manager-impl.ts - Lineage and impact → ArangoDB: queries lineage