Data Engineering Framework For Production Pipelines — Prompt-Spark

The Highly Efficent and Modular Spark Data Engineering Framework

https://github.com/prompt-spark/prompt-scala-framework

Motivation Behind Development

Building new Spark Data engineering ETL/ELT pipeline from scratch is really hard and sometimes a bit deviating from final goal. Keeping hard eye on spark daily production implementation and hurdles leads to PROMPT. So need some framework that make things much eaiser when it comes to implimenting Big Data Engineering projects.

1. Why PROMPT ?

Prompt is a modular framework for building fast, testable, scala spark application on top of any structured and structured data. Prompt provides an easy-to-use API for reading and writing data parallely as much as possible

2. How it is diffrent from other Frameworks

Currently, there is no frame work that works closely to SPARK and still provides ability to achieve large vision goals like designing a whole financial system or pipeline for aviation data flow pipeline.

Hurdles To Overcome with PROMPT

The Prompt Framework combines productivity and performance, making it an easy to build, scalable, type-safe Spark data engineering application with Scala, specially when it comes to develop production pipeline. Prompt is functional as well as developer-friendly,providing modular level of transformation steps in the whole data flow pipeline. With Prompt, Spark can scale predictably due to an abstracted and non-blocking architecture. By being as static at functional level and more modular at development level.

1. Functional Smoothness!

Only thing that make any data flow pipeline work great is the answer oriented thinking means what is the final goal, that what PROMPT will make happen in the world of big data where its always easy to flow with the complexity of system, interfaces, data size, velocity and lastly goal.

2. Technical Smoothness

Providing the capability to debug at any level of data flow from reading, transforming , processing till visualization of data.

Framework In Details

PROMPT consists of below modules:

1. Modules In Details

ioSchema in PROMPT consists of multiple case classs that will define and bound with input and output data.

Loader in PROMPT reads data in SPARK Data Structres like RDD or Datasets, now it can behave diffrentls in case of varied kind of input data but the output of loader should be bounded with some case class structure.

Writer in PROMPT writes data from SPARK Data Structres like RDD or Datasets, that is already bounded with ioSchema case classes.

LoaderHelper is the object where helper methods will reside to load data through loader perfectly and smoothly.

ModellerHelper is the object where helper methods will reside to model data according to the needs of either models or modelProcessors.

Is the object where all the transformation would be present aligned to the business requirements or targets.There can be multiple layers of modellers but they all need to be either taking params from loaders or other modellers. output from all the methods inside modellers need to be mapped with case classes in ModellerSchema.

ModellerSchema in PROMPT consists of multiple case classs that will define and bound with input and output data.

d. functionalModel (SCALA Trait)

This is wrapper covering all the models in side and provides the functional layer to connect and implement the data flow pipeline according to business requirements, it can process one or more type of models.

e. Jobs (SCALA Object with main)

Here the application starts to execute and it mainly resides over functionalModel, so the control over specific execution flows from start to end of the pipeline.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store