We will take the same example of IP fraud detection that we used in Chapter 5, Building Spark Streaming Applications with Kafka, and Chapter 6, Building Storm Application with Kafka. Let's start with how we can build the same application using Kafka Stream. We will start with the code, take the producer, and look up the code from Chapter 6, Building Storm Application with Kafka, which can be utilized here as well.
Use case example of Kafka Streams
Maven dependency of Kafka Streams
The best part of Kafka Stream is that it does not require any extra dependency apart from Stream libraries. Add the dependency to your pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http...