Home / Companies / Rollbar / Blog / Post Details
Content Deep Dive

Apache Kafka Example: How Rollbar Removed Technical Debt – Part 2

Blog post from Rollbar

Post Details
Company
Date Published
Author
-
Word Count
703
Language
English
Hacker News Points
-
Summary

Rollbar's blog series details their experience integrating Apache Kafka to eliminate technical debt while ensuring uninterrupted service. The first part focused on configuring the Kafka cluster and producer for optimal throughput and latency. The second part delves into the Kafka consumer, developed using Python 3.8 and the Confluent Kafka client to efficiently consume messages and write them to the database. Monitoring is achieved with Prometheus, using a /metrics endpoint in conjunction with Kubernetes deployments, and additional visibility into Kafka's performance is provided by tools like Prometheus JMX exporter and Kafka Exporter, which also integrate with Grafana dashboards. Rollbar employs Kubernetes and Spinnaker for continuous deployment, using feature flags via LaunchDarkly for gradual rollouts, allowing seamless transitions between legacy and Kafka-based systems. This strategic deployment, integrated with Rollbar's own tracking tools, enhances transparency and reliability, setting the stage for further architectural evolution with Kafka as a central component. Future blog posts promise deeper insights into their Kubernetes configuration and deployment strategies.