Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.concurrent.TimeUnit;
- import org.apache.kafka.streams.kstream.SessionWindows;
- // A session window with an inactivity gap of 5 minutes.
- SessionWindows.with(TimeUnit.MINUTES.toMillis(5));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement