| When using Apache Kafka, we are not just interested in only pub/sub, especially for the metrics part, we want to transform the data, before we store it in (some) database. Kafka offers a nice and powerful streaming API, which allows you to apply functional programming to an input stream, and easily write the transformed data to a different topic/stream, where a different consumer could just read the data, and store it (somewhere). |