Skip to main content
Get the Flexprice Bento Collector running in minutes.

Prerequisites

  • Flexprice API key
  • Event source (Kafka, webhooks, database)

Quick Start with Docker

1. Create config.yaml:
2. Run with Docker:
3. Check logs:

Kubernetes Deployment

1. Create Secret:
2. Deploy:

Configuration

Batching

Tune based on event volume:
Guidelines:
  • Low volume (< 100/min): count: 5, period: 5s
  • Medium volume: count: 10, period: 2s (default)
  • High volume (> 1000/min): count: 50, period: 1s

Kafka Performance

Troubleshooting

Events not batching?
  • Increase fetch_buffer_cap in Kafka input
  • Check event volume is sufficient
  • Rebuild binary if code changed
Connection errors?
  • Verify API key is correct
  • Check Kafka broker addresses
  • Ensure external_customer_id exists in Flexprice
Memory issues?
  • Reduce fetch_buffer_cap
  • Lower max_in_flight
  • Set resource limits

Environment Variables

Observability

The collector exposes Prometheus metrics at /metrics:
Access metrics: http://localhost:4195/metrics

Next Steps

Need help? Contact support@flexprice.io