How meltano/sdk works
Main Components
a. Core SDK Components:
• Tap Base Framework
• Target Base Framework
• Mapper Framework
• Stream Processing Engine
• Authentication System
• Configuration Management
b. Stream Types:
• REST Streams
• GraphQL Streams
• SQL Streams
• Custom Stream Types
c. Supporting Systems:
• Batch Processing
• State Management
• Schema Management
• Testing Framework
┌─ SDK Core Layer ──────────────────────────────────────┐
• ┌─ Stream Engine ─┐ ┌─ Authentication ┐ ┌─ Config ┐ │
• ┘ └─────────────────┘ └─────────┘ │
• ┘
┌─ Implementation Layer ─────────────────────────────────┐
• ┌─ Tap Base ───┐ ┌─ Target Base ──┐ ┌─ Mapper ───┐ │
• ┘ └────────────────┘ └────────────┘ │
• ┘
┌─ Stream Types Layer ─────────────────────────────────┐
• ┌─ REST ─┐ ┌─ GraphQL ┐ ┌─ SQL ─┐ ┌─ Custom ─┐ │
• ┘ └──────────┘ └───────┘ └──────────┘ │
• ┘
┌─ Support Systems Layer ────────────────────────────────┐
• ┌─ Testing ─┐ ┌─ Batching ─┐ ┌─ State Management ┐ │
• ┘ └────────────┘ └───────────────────┘ │
• ┘
Connection Types
• API calls (bold lines)
Additional Elements
• External Systems Integration
• Configuration Schema Management
• Authentication Providers
• Logging and Metrics
• CLI Interface
Implementation Details
Implementation aspects:
• Singer message flow
• State management
• Schema handling
• Authentication flow
• Error handling
Remember to include bidirectional relationships where appropriate, especially between the core components and their implementations, and clearly show how data flows through the system from source to destination.