You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2016/04/08 18:00:26 UTC

[jira] [Resolved] (KAFKA-3505) Set curRecord in punctuate() functions

     [ https://issues.apache.org/jira/browse/KAFKA-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ewen Cheslack-Postava resolved KAFKA-3505.
------------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 0.10.0.0)
                   0.10.1.0

Issue resolved by pull request 1190
[https://github.com/apache/kafka/pull/1190]

> Set curRecord in punctuate() functions
> --------------------------------------
>
>                 Key: KAFKA-3505
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3505
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Guozhang Wang
>            Assignee: Guozhang Wang
>              Labels: user-experience
>             Fix For: 0.10.1.0
>
>
> Punctuate() function in processor and transformer needs to be handled a bit differently from process(), since it can generate new records to pass through the topology from anywhere of the topology, whereas for the latter case a record is always polled from Kafka and passed via the source processors.
> Today because we do not set the curRecord correctly, calls to timestamp() / topic() / etc would actually trigger a KafkaStreamsException.



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