kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-3104) Windowed Stream Aggregation Implementation
Date Mon, 18 Jan 2016 20:15:39 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105775#comment-15105775
] 

ASF GitHub Bot commented on KAFKA-3104:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/781


> Windowed Stream Aggregation Implementation
> ------------------------------------------
>
>                 Key: KAFKA-3104
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3104
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Guozhang Wang
>            Assignee: Guozhang Wang
>             Fix For: 0.9.1.0
>
>
> Proposed approach:
> 1. Add a K-V store with format <key, window> : <agg-value> with Windowed<K>
ser-de and <T> ser-de.
> 2. Upon receiving a record forwarded from the upstream processor:
> 2.1. First get the mapping window(s) from the context timestamp.
> 2.2. For each window, first try fetch from the store, if not exist call initialValue().
> 2.2. Only call add(..), and never call remove(..)
> 2.3. Forward the aggregate value with key Windowed<agg-key> and value Change<agg-value>.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message