You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2016/05/17 14:29:13 UTC
[jira] [Updated] (KAFKA-3505) Set curRecord in punctuate()
functions
[ https://issues.apache.org/jira/browse/KAFKA-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma updated KAFKA-3505:
-------------------------------
Fix Version/s: (was: 0.10.1.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
> 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.4#6332)