Get Started Free

Stream Processing in Your Language of Choice? Springing into Apache Kafka, machine learning, and more with community content for April. 🐣

April 6, 2023

We’ve got a veritable treasure trove of resources today! Francesco Tisiot explains the vital issue of message ordering, Michael Drogalis discusses GraalVM as a possible leveler when it comes to stream processing in your language of choice, and we’ve also got an intro to jq. Read on…

Apache Kafka® Resources:

Terminal Tip of the Week:

This one is back-to-basics for some, but for anyone unfamiliar with jq, it’s an introductory command. A curl request to the mock API, JSONplaceholder, returns an object:


curl -X GET https://jsonplaceholder.typicode.com/posts/1
{
  "userId": 1,
  "id": 1,
  "title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
  "body": "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto"
}

What if we wanted only the body of that object? Jq to the rescue! We can use its Object-Identifier Index, signified by a dot before the name of the object, to filter out the rest of the data:


curl -X GET https://jsonplaceholder.typicode.com/posts/1 | jq .body
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   292  100   292    0     0   2554      0 --:--:-- --:--:-- --:--:--  2561
"quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto"

There’s much more you can do with jq, but you can already see how useful it is for filtering terminal output.

Links From Around the Web:

In Other News:

Kafka Summit London is happening soon, May 16-17! Register at the conference home page.

Join Kafka developers in-person for a meetup in Atlanta! Other upcoming opportunities to network and learn are

  • In Person in London on Kafka Streams in FinTech & Microservices KStreams accelerator
  • Join us virtually for a chat on Apache Kafka and Azure Connectors with a hands on workshop

If you’d like to view previous editions of the newsletter, visit our archive.

P.S. If you want to learn more about Kafka or Confluent Cloud, visit our developer site at Confluent Developer.

Subscribe Now

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.

Recent Newsletters