Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. The Kafka Connect JDBC Sink can be used to stream data from a Kafka topic to a database such as Oracle, Postgres, MySQL, DB2, etc.

  2. I got the error SQLSyntaxErrorException: BLOB/TEXT column 'MESSAGE_KEY' used in key specification without a key length with Kafka Connect JDBC Sink connector (v10.0.2) and MySQL (8.0.23)

  3. ksqlDB is a fantastically powerful tool for processing and analysing streams of data in Apache Kafka.

  4. Using Open Sea Map data in Kibana maps

    Kibana’s map functionality is a powerful way to visualise data that has a location element in it.

  5. Whilst Apache Kafka is an event streaming platform designed for, well, streams of events, it’s perfectly valid to use it as a store of data which perhaps changes only occasionally (or even never).

  6. Some people learn through doing - and for that there’s a bunch of good ksqlDB tutorials here and here.

  7. Performing a GROUP BY on data in bash

    One of the fun things about working with data over the years is learning how to use the tools of the day—but also learning to fall back on the tools that are always there for you - and one of those is bash and its wonderful library of shell tools.

  8. tl;dr: specify the --user root argument: docker exec --interactive \ --tty \ --user root \ --workdir / \ container-name bash

  9. Confluent Cloud is not only a fully-managed Apache Kafka service, but also provides important additional pieces for building applications and pipelines including managed connectors, Schema Registry, and ksqlDB.

  10. Creating topics with Kafka Connect

    When Kafka Connect ingests data from a source system into Kafka it writes it to a topic.

  11. KIP-66 was added in Apache Kafka 0.10.2 and brought new functionality called Single Message Transforms (SMT).

  12. Apache Kafka ships with many Single Message Transformations (SMT) included - but the great thing about it being an open API is that people can, and do, write their own transformations.

  13. Apache Kafka 2.6 included KIP-585 which adds support for defining predicates against which transforms are conditionally executed, as well as a Filter Single Message Transform to drop messages - which in combination means that you can conditionally drop me…

  14. The ReplaceField Single Message Transform has three modes of operation on fields of data passing through Kafka Connect: Include only the fields specified in the list (include) Include all fields except the ones specified (exclude) Rename field(s) (renames)

  15. Over the years I’ve used various blogging platforms; after a brief dalliance with Blogger I started for real with the near-inevitable Wordpress.com.

  16. 🎄 Twelve Days of SMT 🎄 - Day 9: Cast

    The Cast Single Message Transform lets you change the data type of fields in a Kafka message, supporting numerics, string, and boolean.

  17. The TimestampConverter Single Message Transform lets you work with timestamp fields in Kafka messages.

  18. Just like the RegExRouter, the TimeStampRouter can be used to modify the topic name of messages as they pass through Kafka Connect.

  19. We kicked off this series by seeing on day 1 how to use InsertField to add in the timestamp to a message passing through the Kafka Connect sink connector.

  20. If you want to mask fields of data as you ingest from a source into Kafka, or write to a sink from Kafka with Kafka Connect, the MaskField Single Message Transform is perfect for you.

  21. If you want to change the topic name to which a source connector writes, or object name that’s created on a target by a sink connector, the RegExRouter is exactly what you need.

  22. The Flatten Single Message Transform (SMT) is useful when you need to collapse a nested message down to a flat structure.

  23. Setting the key of a Kafka message is important as it ensures correct logical processing when consumed across multiple partitions, as well as being a requirement when joining to messages in other topics.

  24. You can use the InsertField Single Message Transform (SMT) to add the message timestamp into each message that Kafka Connect sends to a sink.

  25. Back in March 2020 the western world came to somewhat of a juddering halt, thanks to COVID-19.

  26. My Workstation - 2020

    Is a blog even a blog nowadays if it doesn’t include a "Here is my home office setup"?

  27. Keynote - Why is Replace Fonts greyed out?

    Very short & sweet this post, but Google turned up nothing when I was stuck so hopefully I’ll save someone else some head scratching by sharing this.

  28. As you may already realise, Kafka is not just a fancy message bus, or a pipe for big data.

  29. Streaming data from Kafka to Elasticsearch is easy with Kafka Connect - you can see how in this tutorial and video.

  30. There was a good question on StackOverflow recently in which someone was struggling to find the appropriate ksqlDB DDL to model a source topic in which there was a variable number of fields in a STRUCT.

  31. Let’s imagine we have XML data on a queue in IBM MQ, and we want to ingest it into Kafka to then use downstream, perhaps in an application or maybe to stream to a NoSQL store like MongoDB.

  32. 👉 Ingesting XML data into Kafka - Introduction We saw in the first post how to hack together an ingestion pipeline for XML into Kafka using a source such as curl piped through xq to wrangle the XML and stream it into Kafka using kafkacat, optionally using…

  33. We previously looked at the background to getting XML into Kafka, and potentially how [not] to do it.

  34. 👉 Ingesting XML data into Kafka - Introduction What would a blog post on rmoff.net be if it didn’t include the dirty hack option?

  35. XML has been around for 20+ years, and whilst other ways of serialising our data have gained popularity in more recent times (such as JSON, Avro, and Protobuf), XML is not going away soon.

  36. Short & sweet to help out future Googlers.

  37. IBM MQ on Docker - Channel was blocked

    Running IBM MQ in a Docker container and the client connecting to it was throwing repeated Channel was blocked errors.

  38. One of my favourite hacks for getting data into Kafka is using kafkacat and stdin, often from jq.

  39. Some of my favourite public data sets

    Readers of a certain age and RDBMS background will probably remember northwind, or HR, or OE databases - or quite possibly not just remember them but still be using them.

  40. Here’s a collection of Kafka-related talks, just for you.

  41. Prompted by a question on StackOverflow I thought I’d take a quick look at setting up ksqlDB to ingest CDC events from Microsoft SQL Server using Debezium.

  42. I use Hugo for my blog, hosted on GitHub pages.

  43. What is Kafka Connect?

    Kafka Connect is the integration API for Apache Kafka.

  44. There’s ways, and then there’s ways, to count the number of records/events/messages in a Kafka topic.

  45. Google Chrome automagically adds sites that you visit which support searching to a list of custom search engines.

  46. I had the pleasure of presenting at DataEngBytes recently, and am delighted to share with you the 🗒️ slides, 👾 code, and 🎥 recording of my ✨brand new talk✨: 🤖Building a Telegram bot with Apache Kafka, Go, and ksqlDB

  47. Telegram bot - BOT_COMMAND_INVALID

    A tiny snippet since I wasted 10 minutes going around the houses on this one… tl;dr: If you try to create a command that is not in lower case (e.g.

  48. The server sends Transfer-Encoding: chunked data, and you want to work with the data as you get it, instead of waiting for the server to finish, the EOF to fire, and then process the data?

  49. At the beginning of all this my aim was to learn something new (Go), and use it to write a version of a utility that I’d previously hacked together in Python that checks your Apache Kafka broker configuration for possible problems with the infamous advert…

  50. So far I’ve been running all my code either in the Go Tour sandbox, using Go Playground, or from a single file in VS Code.