Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import java.util.concurrent.TimeUnit;
  2. import org.apache.kafka.streams.kstream.SessionWindows;
  3.  
  4. // A session window with an inactivity gap of 5 minutes.
  5. SessionWindows.with(TimeUnit.MINUTES.toMillis(5));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement