Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- implicit class StreamsBuilderOps(streamsBuilder: StreamsBuilderS) {
- def streamFromRecord[V] = new StreamBuilder[V]
- class StreamBuilder[V] {
- def apply[K]()(implicit record: Record[K, V], consumed: Consumed[K, V]): KStreamS[K, V] =
- streamsBuilder.stream[K, V](record.topic)
- }
- }
Add Comment
Please, Sign In to add comment