Book Image

Learning Apache Apex

By : Thomas Weise, Ananth Gundabattula, Munagala V. Ramanath, David Yan, Kenneth Knowles
Book Image

Learning Apache Apex

By: Thomas Weise, Ananth Gundabattula, Munagala V. Ramanath, David Yan, Kenneth Knowles

Overview of this book

Apache Apex is a next-generation stream processing framework designed to operate on data at large scale, with minimum latency, maximum reliability, and strict correctness guarantees. Half of the book consists of Apex applications, showing you key aspects of data processing pipelines such as connectors for sources and sinks, and common data transformations. The other half of the book is evenly split into explaining the Apex framework, and tuning, testing, and scaling Apex applications. Much of our economic world depends on growing streams of data, such as social media feeds, financial records, data from mobile devices, sensors and machines (the Internet of Things - IoT). The projects in the book show how to process such streams to gain valuable, timely, and actionable insights. Traditional use cases, such as ETL, that currently consume a significant chunk of data engineering resources are also covered. The final chapter shows you future possibilities emerging in the streaming space, and how Apache Apex can contribute to it.
Table of Contents (17 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Understanding application logs


When the test is run, it generates a copious amount of log messages. Understanding this output is invaluable for debugging and troubleshooting purposes, we will discuss some important elements of these messages next. This section is, unavoidably, rather dense since it delves into the content of log files generated by the application, but it will be invaluable for developers since they will need to understand these log files for troubleshooting and optimization.

Early in the message output you will see ZooKeeper starting up:

2017-10-29 07:49:40,878 [main] INFO  server.ZooKeeperServer <init> - Created server with tickTime 500 minSessionTimeout 1000 maxSessionTimeout 10000 datadir /tmp/zookeeper-snapshot2513970348898676323/version-2 snapdir /tmp/zookeeper-logs2532702519793579042/version-22017-10-29 07:49:40,951 [main] INFO  server.NIOServerCnxnFactory configure - binding to port localhost/127.0.0.1:39429

This will be followed by a long list of Kafka configuration...