Search⌘ K

Mapping

Explore how to apply mapping techniques in Kafka Streams for stateless processing. Learn the difference between map and mapValues operators and when to use each to transform record values efficiently without altering keys.

We'll cover the following...

To fulfill the next requirement, we’ll be using one of the most common operations in data streaming—mapping. Let’s refresh our memory about the requirements:

  • We have at our disposal three APIs:

    • An API to get the lyrics of a track by its ID.

    • An API to get a list of feelings associated with a track by its ID based on the analysis of the music itself.

    • An API to get a list of feelings associated with a text.

  • Our data ...