Branching Streams

Learn how to branch streams in a Kafka Streams topology.

As specified in the requirements given to us, each record we receive should be treated differently, depending on whether it is an instrumental or a noninstrumental track. When we need to treat records differently in the same topology, we can use the split operator to split a single stream into multiple streams based on a series of predicates.

Get hands-on with 1200+ tech skills courses.