[ https://issues.apache.org/jira/browse/KAFKA-3511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290440#comment-15290440 ]
Jay Kreps commented on KAFKA-3511: ---------------------------------- It just seems really weird to bake one or two aggregates into the framework when there will be many of them and others will not be invoked the same way. As a user I wonder why are these aggregates invoked differently then others? But further, how common is it that you actually ever want to do a sum() or count() on its own outside of example code. Wouldn't your sum or count virtually always be one field in a richer record? > Provide built-in aggregators sum() and avg() in Kafka Streams DSL > ----------------------------------------------------------------- > > Key: KAFKA-3511 > URL: https://issues.apache.org/jira/browse/KAFKA-3511 > Project: Kafka > Issue Type: Bug > Components: streams > Reporter: Guozhang Wang > Assignee: Ishita Mandhan > Labels: api > Fix For: 0.10.1.0 > > > Currently we only have one built-in aggregate function count() in the Kafka > Streams DSL, but we want to add more aggregation functions like sum() and > avg(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)