Wiki: Metorikku: spark ETL made super simple

For agents: Markdown version · Wiki index · Explore

Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

Summary

This talk introduces Metorikku, an open-source ETL library built on top of Apache Spark designed to simplify data access and processing within organizations. The speaker explains how the library bridges the gap between big data infrastructure teams and developers by allowing data pipelines to be written primarily using SQL and configuration files. Through a real-world use case involving clickstream analytics, the audience learns how Metorikku abstracts away the complexities of managing raw Spark applications in production and local environments.

Key points

  • 0:10 The speaker introduces Metorikku, an ETL library built on Apache Spark designed to make data access easier for anyone who knows SQL.
  • 1:13 Relying solely on a centralized big data team to build pipelines often creates bottlenecks for developers needing to access or process data.
  • 2:35 While Apache Spark is powerful, writing raw Spark applications requires deep expertise and handling complex nuances.
  • 4:09 A real production example from the speaker’s company involves processing 20,000 clickstream events per second from an S3 data lake and correlating them with MySQL user data.
  • 5:12 Metorikku architecture is structured around three types of configuration files: run config, metric config, and test config.
  • 6:20 The run configuration file defines environment-specific settings like inputs from S3 or MySQL and outputs to Cassandra.
  • 7:22 The metric configuration file contains business logic written as a series of chained SQL queries that map to temporary views.
  • 8:50 Metorikku can be executed in production via standard Spark submit or run locally in a standalone mode without requiring direct Spark setup.

Takeaways

  • Abstract complex distributed data frameworks like Spark using configuration-driven abstractions to empower non-expert developers.
  • Structure ETL pipelines using modular configuration and SQL queries to improve maintainability and readability.
  • Support local testing and standalone execution to streamline developer workflows and CI pipelines.

Questions this talk answers

  • How can we simplify Apache Spark ETL pipelines for developers who only know SQL?
  • What is the architectural difference between running raw Spark and using a framework like Metorikku?
  • How do you handle local testing and configuration management for distributed data pipelines?

Technologies

Apache Spark, SQL, Amazon S3, MySQL, Cassandra

Tags

architecture, big data, data engineering, developer experience, etl, sql