Skip to Content
Kafka Connect
book

Kafka Connect

by Mickael Maison, Kate Stanley
September 2023
Beginner to intermediate content levelBeginner to intermediate
400 pages
10h 33m
English
O'Reilly Media, Inc.
Book available
Content preview from Kafka Connect

Chapter 9. Monitoring Kafka Connect

As an administrator or SRE of a Kafka Connect pipeline, it is your job to make sure that it is running correctly. To do this, you need to set up monitoring so you can easily check the state of the system and quickly diagnose problems. Along with identifying and fixing existing problems, monitoring can allow you to spot potential future problems and make changes before they have an impact.

If you have other users or systems that are relying on your pipeline, you should have an understanding with them about the guarantees you can offer in terms of uptime, availability, latency etc. These guarantees are referred to as service-level objectives (SLOs) or service-level agreements (SLAs). Having a good monitoring setup lets you not only spot and resolve problems more quickly, but also makes it easier to provide an accurate SLO or SLA.

In this chapter, we look at the different mechanisms you can use to monitor Kafka Connect and give some guidance on how best to use them. There are three ways for you to get insights into Kafka Connect clusters:

  • Analyzing metrics

  • Using the REST API

  • Processing log messages

Each of these resources provides a slightly different view of the system, and together they allow you to fully monitor Kafka Connect.

The most reliable way to quickly identify problems in your system is by tracking metrics. Even a small Kafka Connect pipeline produces thousands of metrics, so you should use monitoring tools to do this. These tools ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Kafka in Action

Kafka in Action

Dylan Scott, VIKTOR GAMOV, Dave Klein

Publisher Resources

ISBN: 9781098126520Errata Page