Running Apache Kafka on Kubernetes at Shopify - Shopify
Nov 7, 2018

Summary
This post details Shopify's migration of its Apache Kafka infrastructure from on-premises data centers to Google Cloud Platform (GCP) and its subsequent deployment on Kubernetes. It outlines the three-step migration process, the rationale for choosing Kubernetes over VMs (specifically the use of StatefulSets and Custom Resources), best practices for containerizing Kafka (building own images, resource monitoring containers), and key configurations for cluster availability (Node Affinity, Taints, Inter-pod Affinity/Anti-Affinity, Persistent Volumes, Custom Resources for topic provisioning, rack-awareness, and Readiness Probes).
More from the Apache Airflow Orchestration at Scale trail
- 3 (More) Tips for Optimizing Apache Flink Applications - Shopify
- Reducing BigQuery Costs: How We Fixed A $1 Million Query - Shopify
- Lessons Learned From Running Apache Airflow at Scale - Shopify
- 7 Tips For Optimizing Apache Flink Applications - Shopify
- Scaling Shopify's BFCM Live Map: An Apache Flink Redesign - Shopify