Hello,
I m a young java developer And i m beginner with kafka stream API. I have some questions about, Il be grateful if you can answer it .
Is there a way to create ktable using objet and grouping by a specified attribute of this object rather than returning just premitive (key,value) types ?
For example KTable<String, Person>
With
Class Person{
Long id ;
String Name ;
Date date ;
Double money_per_day ;
……(other class attributes)
}
Class SumPersonMoney extends Person {
Double moneySome;
}
And i want as a result list<SumPersonMoney> where I can get (id, Name,Sum of money )
Thank you.