Skip to content

Phase 2: Ingestion Pipeline - Ingestion Endpoints and Batcther #23

@anuragShingare30

Description

@anuragShingare30

Parent issue #21

Objective

To create ingestion endpoint which validates request body and perform the batch compression

Tasks

  • Create POST /ingest handler
  • Validate request body (timestamp, service, level, message, tags)
  • API key validation middleware → extract project_id
  • In-memory buffer per project
  • Flush on:
    • Batch size threshold (e.g., 1000 logs)
    • Time threshold (e.g., 30 seconds)
  • Compress batch with gzip / zstd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions