Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Paul Crickard

Rating No ratings yet

Build, monitor, and manage real-time data pipelines to create data engineering infrastructure efficiently using open-source Apache projects Key Features Become well-versed in data architectures, data preparation, and data optimization skills with the help of practical examples Design data models and learn how to extract, transform, and load (ETL) data using Python Schedule, automate, and monitor complex data pipelines in production Book Description Data engineering provides the foundation for data science and analytics, and forms an important part of all businesses. This book will help you to explore various tools and methods that are used for understanding the data engineering process using Python. The book will show you how to tackle challenges commonly faced in different aspects of data engineering. You’ll start with an introduction to the basics of data engineering, along with the technologies and frameworks required...

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A hands-on guide to building, deploying, and monitoring real-world data pipelines with Python and open-source Apache tools, aimed at analysts, ETL developers, and anyone moving into data engineering. It favors practical infrastructure work over theory, so expect to install and wire up systems rather than just read about them. 【Book Arc】 - **Opening (~0%–10%)**: Frames what data engineering is, how it differs from data science, and the roles, skills, and tool categories a data engineer needs. - **Early (~10%–30%)**: Sets up the working environment — installing databases (Elasticsearch, PostgreSQL), NiFi, Kibana, and Python — then covers reading/writing CSV and JSON files and querying SQL and NoSQL databases. - **Middle (~30%–50%)**: Moves into cleaning and transforming data, then culminates in a first end-to-end pipeline that extracts 311 data from SeeClickFix, transforms it, loads it, and visualizes it in Kibana. - **Late (~50%–65%)**: Shifts to production concerns — staging and validating data (with Great Expectations), idempotent and atomic pipelines, version control via the NiFi Registry, monitoring, and deployment strategies. - **Late (~65%–85%)**: Introduces real-time streaming — building a Kafka cluster, producing and consuming streams in Python, and processing data with an Apache Spark cluster. - **Ending (~85%–100%)**: A capstone project on real-time edge data combining Kafka, Spark, and MiNiFi, plus an appendix on clustering NiFi. 【Key Takeaways】 - **Data engineering is the infrastructure layer beneath data science** (Opening): the book defines it as developing, operating, and maintaining databases and pipelines that extract, transform, and load data, on-premises or in the cloud. - **Pipelines are the core unit of work** (Early–Middle): combining a source database, a language, a processing engine, and a warehouse only becomes useful once scheduled and automated — the book walks from manual scripts toward managed frameworks. - **Transformation is where the real value is added** (Middle): raw data arrives dirty, and cleaning, standardizing (e.g., ISO 8601 timestamps), and enriching it is what makes downstream analytics possible. - **Production readiness is a distinct skill set** (Late): staging, validation, idempotency, atomicity, version control, and monitoring separate a demo pipeline from one you can trust in production. - **Scheduling outgrows crontab quickly** (Late): the book contrasts simple cron jobs with frameworks like Apache Airflow, which add tracking, failure handling, and backpressure management. - **Batch and streaming are complementary** (Late): after batch ETL, the book builds Kafka clusters and Spark processing to handle real-time data flows. - **Edge and IoT extend the pipeline** (Ending): MiNiFi brings NiFi-style collection to low-resource devices, showing pipelines reaching beyond the data center. - **Tooling choices matter** (Late): relational vs. columnar vs. document databases each suit different workloads, and the book explains when to reach for each. 【Reading Tips】 - **Deep-read Sections 1 and 2** if you are new: the environment setup, file/database work, and production chapters form the practical backbone. - **Skim the installation walkthroughs** (Kafka, Spark, NiFi clusters) on a first pass — return to them when you actually stand up the clusters. - **Treat the capstone projects as checkpoints**: the 311 pipeline and the real-time edge project test whether earlier concepts stuck. - **Have a Linux terminal and Python basics ready** — the book assumes both and moves quickly through commands. - **Keep the appendix on NiFi clustering for later**, once you understand single-node pipelines. 【Coverage Limits】 This guide is based on stratified excerpts covering the front matter, table of contents, and early-to-mid chapters; later chapters are summarized from the contents listing rather than full text, so specific code details and examples in the streaming and capstone chapters are not covered here.
Excerpt 1
ged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and...
View in text
Excerpt 2
Transform, and Load Chapter 1 : What is Data Engineering?
View in text
Excerpt 3
orm, and Load Chapter 1 : What is Data Engineering? What data engineers do  4 Required skills and knowledge to be a data engineer   6 Data engineering versus...
View in text
Excerpt 4
the GitHub repository (link available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code. Dow...
View in text
Excerpt 5
he data, which is then cleaned as it flows through the pipe. After that, it comes out the other side into a data warehouse, where it can be queried. The foll...
View in text
Excerpt 6
w in a direction with each task coming after its dependency. Using the preceding example pipeline, the first node would be to execute a SQL statement grabbin...
View in text
Excerpt 7
. There is also the option to display raw or formatted text. The following screenshot shows the raw FlowFile data, which is just a simple text string: Figure...
View in text
Excerpt 8
ble main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list Lastly, update apt and install Kibana: sudo apt-get update sudo apt-get install kibana The c...
View in text
Tags
AI categories
DataBig DataPython
Publisher: Packt Publishing
Publish Year: 2020
Language: English
File Format: EPUB
File Size: 20.0 MB