METL:具有动态映射矩阵的现代ETL管道
METL: a modern ETL pipeline with a dynamic mapping matrix
摘要:
现代ETL流管道从各种来源提取数据,并将其转发给多个消费者,例如数据仓库(DW)和利用机器学习(ML)的分析系统。然而,越来越多的系统连接到这样的管道,需要新的解决方案的数据集成。规范(或公共)数据模型(CDM)提供了这样的集成。它对于将微服务系统集成到ETL管道中特别有用。(Villaca et al 2020,Oliveira et al 2019)然而,映射到CDM是复杂的。(Lemcke et al 2012)存在三个复杂性问题,即所需映射矩阵的大小、响应于提取源的变化而自动更新矩阵以及映射的时间效率。在本文中,我们提出了一个新的解决方案,这些问题。更准确地说,我们提出了一个新的动态映射矩阵(DMM),这是基于置换矩阵,通过分块得到的全映射矩阵。我们表明,DMM可用于自动更新响应模式的变化,并行计算在近实时和高效的压缩。为了解决这个问题,我们借鉴了对矩阵划分(Quinn 2004)和动态网络(Haase et al 2021)的研究。DMM已经被实现到一个名为Message ETL(METL)的应用程序中。METL是EOS中新的ETL流管道的关键部分,该管道进行到CDM的转换。ETL管道基于Kafka-streams。它使用Debezium基于日志的变更数据捕获(CDC)从80多个微服务中提取数据,并将数据加载到DW和ML平台。EOS是欧洲第二大电子商务提供商Otto Group的一部分。
英文摘要:
Modern ETL streaming pipelines extract data from various sources and forward it to multiple consumers, such as data warehouses (DW) and analytical systems that leverage machine learning (ML). However, the increasing number of systems that are connected to such pipelines requires new solutions for data integration. The canonical (or common) data model (CDM) offers such an integration. It is particular useful for integrating microservice systems into ETL pipelines. (Villaca et al 2020, Oliveira et al 2019) However, a mapping to a CDM is complex. (Lemcke et al 2012) There are three complexity problems, namely the size of the required mapping matrix, the automation of updates of the matrix in response to changes in the extraction sources and the time efficiency of the mapping. In this paper, we present a new solution for these problems. More precisely, we present a new dynamic mapping matrix (DMM), which is based on permutation matrices that are obtained by block-partitioning the full mapping matrix. We show that the DMM can be used for automated updates in response to schema changes, for parallel computation in near real-time and for highly efficient compacting. For the solution, we draw on research into matrix partitioning (Quinn 2004) and dynamic networks (Haase et al 2021). The DMM has been implemented into an app called Message ETL (METL). METL is the key part of a new ETL streaming pipeline at EOS that conducts the transformation to a CDM. The ETL pipeline is based on Kafka-streams. It extracts data from more than 80 microservices with log-based Change Data Capture (CDC) with Debezium and loads the data to a DW and an ML platform. EOS is part of the Otto-Group, the second-largest e-commerce provider in Europe.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。