Trench is an open-source analytics infrastructure platform combining Kafka and ClickHouse for high-performance event tracking and analysis.

Trench demo screenshot

About Trench

A Y Combinator-backed analytics infrastructure solution that leverages Kafka and ClickHouse to provide enterprise-grade event tracking and analysis. It offers both self-hosted and cloud options, following industry standards like Segment's specification while ensuring GDPR compliance and high scalability.

Key Features

  • Segment-compatible tracking API with Track, Identify, and Group events
  • High-throughput event processing using Kafka (thousands of events/second)
  • Real-time SQL and REST query capabilities via ClickHouse
  • Single docker image deployment with all components included
  • Configurable data export with throttled webhooks
  • GDPR-compliant architecture
  • Available in both self-hosted and cloud options