Chapter 11. Kafka Streams API overview
The Kafka Streams API allows applications to receive data from one or more input streams, execute complex operations like mapping, filtering or joining, and write the results into one or more output streams. It is part of the kafka-streams
JAR package that is available in the Red Hat Maven repository.
11.1. Adding the Kafka Streams API as a dependency to your Maven project Copy linkLink copied to clipboard!
This procedure shows you how to add the AMQ Streams Java clients as a dependency to your Maven project.
Prerequisites
-
A Maven project with an existing
pom.xml
.
Procedure
Add the Red Hat Maven repository to the
<repositories>
section of yourpom.xml
file.Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add
kafka-streams
to the<dependencies>
section of yourpom.xml
file.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Build your Maven project.