kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Kreps (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-3511) Provide built-in aggregators sum() and avg() in Kafka Streams DSL
Date Thu, 19 May 2016 04:17:13 GMT

    [ 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:
> 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

View raw message