How abbojuraviteja/rudder-server works
RudderStack is a Go customer data platform: applications and SDKs send events for collection, transformation, and delivery to analytics tools and warehouses. The graph captures that documented pipeline, with JobsDB as the durable processing layer and separate streaming and warehouse delivery branches. The README establishes the product-level flow; sampled source confirms router dispatch and destination-manager behavior, plus warehouse setup. Several runtime subsystems are represented at their exact tree paths, but their internal calls were not sampled, so those links are not asserted.
Main entry points: worker.go Delivery worker · processor.go Event processor · backend-config.go Backend configuration · app.go Warehouse service
Components 18
Event collection
- Event gateway
gateway/handle.go
Processing and routing
- JobsDB
jobsdb/jobsdb.go - Event processor
processor/processor.go - Transformations
processor/internal/transformer - Router lifecycle
router/manager/manager.go - Delivery worker
router/worker.go
Event destinations
- Custom destinations
router/customdestinationmanager/customdestinationmanager.go - Async destinations
router/batchrouter/asyncdestinationmanager/manager.go - Stream producers
services/streammanager/streammanager.go - Kafka producer
services/streammanager/kafka/kafkamanager.go
Warehouse sync
- Warehouse service
warehouse/app.go - Warehouse routing
warehouse/router/router.go - Warehouse integrations
warehouse/integrations/manager/manager.go
Configuration and auth
- Backend configuration
backend-config/backend-config.go - OAuth handling
services/oauth/v2/oauth_handler.go
Other components
- Apps and SDKs
- Analytics tools
- Customer warehouse
Connections 16
- Apps and SDKs → Event gateway: send events
README.md - Event gateway → JobsDB: collect events
README.md - JobsDB → Event processor: process events
README.md - Event processor → Transformations: transform events
README.md - Event processor → Delivery worker: route events
README.md - Router lifecycle → Backend configuration: monitors config
router/manager/manager.go - Delivery worker → Custom destinations: dispatches data
router/worker.go - Custom destinations → Stream producers: creates producer
router/customdestinationmanager/customdestinationmanager.go - Stream producers → Kafka producer: selects producer
- Delivery worker → Async destinations: delivers batches
- Delivery worker → Analytics tools: activates tools
README.md - Warehouse service → Warehouse routing: routes sync jobs
- Warehouse routing → Warehouse integrations: loads warehouse
- Warehouse integrations → Customer warehouse: writes data
README.md - Warehouse service → Backend configuration: uses config
warehouse/app.go - OAuth handling → Backend configuration: uses credentials
services/oauth/v2/oauth_handler.go