Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- KTable<String, Float> total_revenue = sales.mapValues(v->transformPriceUnits(v)).groupBy((k, v) -> "total",Grouped.with(Serdes.String(),Serdes.Float())).reduce((v1,v2)->v1+v2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement