Trench
Trench is open-source infrastructure for real-time event tracking and analytics, built on Apache Kafka and ClickHouse.
What Trench is
Trench is open-source infrastructure for real-time event tracking and analytics, built on Apache Kafka and ClickHouse. It supports the Segment specification, including Track, Identify, and Group, and users can query data in real time with SQL or REST. It can route data to other destinations through throttled webhooks. The site says a single node can process thousands of events per second using Kafka. Trench provides a production-ready Docker image containing Kafka, ClickHouse, and the application, and the Open Source plan can be self-hosted on any cloud provider.
The software is available under the MIT License, and the site describes it as GDPR compliant. Open Source costs nothing, has no usage limits, and includes community support, with Slack offered for assistance. Enterprise pricing is volume-based and not listed as a price; the plan includes dedicated infrastructure, a dedicated support engineer, 24/7 phone and email support, an on-premises option, SAML 2.0 SSO, and third-party integrations. The team says it created Trench after its Postgres event-tracking table became costly and a performance bottleneck while serving millions of end users. The site says Trench is built in San Francisco.
Good
- Open Source plan has no usage limits
- Supports real-time SQL and REST queries
- Segment Track, Identify, and Group are supported
- Docker image includes Kafka and ClickHouse
- Enterprise lists 24/7 phone and email support
Watch out
- The Open Source plan is self-hosted
- Enterprise pricing is volume-based and not listed
- Open Source support is community-based
Who it suits
Trench suits teams that want to self-host real-time event collection, querying, and routing infrastructure. It is also relevant to teams using Segment-compatible event calls and seeking SQL or REST access to event data.
Verdict
Trench offers self-hosted event infrastructure with querying and routing options, and an unlimited-use Open Source plan. Teams should account for self-hosting and community-based support unless they choose Enterprise.
Plans and prices
From Trench's own pricing page, checked 8 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Open Source | Free | Self-host on any cloud provider · No usage limits · Community support |
| Enterprise | Priced on request | Dedicated infrastructure · Dedicated support engineer · 24/7 phone and email support · On-premises deployment option · SAML 2.0 SSO · 3rd party integrations · Volume-based pricing |
The facts
Each one read from Trench's own pages, with the date it was checked.
What it does
- Community support
- The Open Source plan includes community support, and the site directs users to its Slack community for assistance.checked 8 Oct 2026
- Data destinations
- Trench can send data to other destinations through throttled webhooks.checked 8 Oct 2026
- Deployment
- Trench provides a single production-ready Docker image that includes Kafka, ClickHouse, and the application.checked 8 Oct 2026
- Enterprise support
- The Enterprise offering includes a dedicated support engineer and 24/7 phone and email support.checked 8 Oct 2026
- Event processing
- Trench says it can process thousands of events per second on a single node using Kafka.checked 8 Oct 2026
- License
- Trench is open source under the MIT License.checked 8 Oct 2026
- Product
- Trench is open-source infrastructure for real-time event tracking and analytics.checked 8 Oct 2026
- Querying
- Users can query data in real time with SQL or REST.checked 8 Oct 2026
- Security
- The site describes Trench as GDPR compliant.checked 8 Oct 2026
- Segment compatibility
- Trench supports the Segment specification, including Track, Identify, and Group.checked 8 Oct 2026
- Technology
- Trench is built on Apache Kafka and ClickHouse.checked 8 Oct 2026
- Use case
- The team created Trench after its Postgres event-tracking table became expensive and a performance bottleneck while serving millions of end users.checked 8 Oct 2026
The company
- Company location
- The site says Trench is built in San Francisco by the team behind Frigade.checked 8 Oct 2026
- Headquarters
- San Franciscochecked 28 Sep 2026
Alternatives to Trench
- 1

RudderStack Customer Data Platform
Free planOpen sourceAndroidiOSWebAPI8.5From $265 a month - 2

Jitsu
Free planOpen sourceAndroidiOSWebAPI8.4From $99 a month - 3

Hightouch
Free planAndroidiOSWebAPI8.2From $350 a month - 4

Stape
Free planAndroidiOSWebAPI8.0From $17 a month - 5

CustomerLabs CDP
AndroidiOSWebAPI6.9From $129 a month - 6
Keen Product Analytics
AndroidiOSWebAPI6.9From $149 a month
