Implementing a “Shift-Left” architecture and ensuring event streams with good quality data results in a healthy data engineering pipeline, and greatly reduces “contaminated” data lakes. In this edition of the newsletter, we feature an in-depth study of techniques to prevent bad data in event streams written by Adam Bellemare, Staff Technologist at Confluent. Read it here.
What’s the purpose of the CoProcessFunction in Apache Flink®?
David Anderson gives an answer, including an example of how you might encounter a need for the CoProcessFunction in the wild, in today’s droplet.
Got your own favorite Stack Overflow answer related to Flink or Kafka? Send it in to devx_newsletter@confluent.io!
Let’s say your underlying dataset uses one of the reserved keywords in Confluent Cloud for Apache Flink SQL, like “blob”:
CREATE TABLE blob (
fluid_density INT,
acceleration INT,
pressure INT
);
You might get an error like this:
Something went wrong.
SQL parse failed. Encountered "blob" at line 1, column 14.
Was expecting one of:
<BRACKET_QUOTED_IDENTIFIER> ...
<QUOTED_IDENTIFIER> ...
<BACK_QUOTED_IDENTIFIER> ...
<BIG_QUERY_BACK_QUOTED_IDENTIFIER> ...
<HYPHENATED_IDENTIFIER> ...
<IDENTIFIER> ...
<UNICODE_QUOTED_IDENTIFIER> ...
Your best practice is to enclose the reserved keyword in backticks:
CREATE TABLE `blob` (
fluid_density INT,
acceleration INT,
pressure INT,
....
);
Hybrid
In-person
IN PERSON! Apache Kafka® Meetup Singapore (Jul 2024): Learn how stream processing solves two different problems - recording license plate data to database for a traffic pipeline, and creating a dynamic pricing engine for travelers.
Summer Munich Meetup: Apache Flink Q&A, Germany (Jul 30): A Q&A in the Beergarden with Flink community members.
Jakarta, Indonesia Jul 31, 2024: Learn about the differences between Zookeeper and KRaft
Online
We hope you enjoyed our curated assortment of resources! If you’d like to provide feedback, suggest ideas for content you’d like to see, or you want to submit your own resource for consideration, email us at devx_newsletter@confluent.io!
If you’d like to view previous editions of the newsletter, visit our archive.
If you’re viewing this newsletter online, know that we appreciate your readership and that you can get this newsletter delivered directly to your inbox by filling out the sign-up form on the left-hand side.
P.S. If you want to learn more about Kafka, Flink, or Confluent Cloud, visit our developer site at Confluent Developer.
We will only share developer content and updates, including notifications when new content is added. We will never send you sales emails. 🙂 By subscribing, you understand we will process your personal information in accordance with our Privacy Statement.