kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-3505) Set curRecord in punctuate() functions
Date Wed, 22 Feb 2017 01:05:44 GMT

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

Matthias J. Sax updated KAFKA-3505:
-----------------------------------
    Affects Version/s: 0.10.0.0

> 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
>    Affects Versions: 0.10.0.0
>            Reporter: Guozhang Wang
>            Assignee: Guozhang Wang
>              Labels: user-experience
>             Fix For: 0.10.0.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.15#6346)

Mime
View raw message