You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jonathan Santilli (JIRA)" <ji...@apache.org> on 2019/07/05 13:24:00 UTC
[jira] [Updated] (KAFKA-8615) Change to track partition time breaks
TimestampExtractor
[ https://issues.apache.org/jira/browse/KAFKA-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Santilli updated KAFKA-8615:
-------------------------------------
Description:
From the users mailing list, *UPDATED* by Jonathan Santilli:
{noformat}
Am testing the new version 2.3 for Kafka Streams specifically. I have noticed that now, the implementation of the method extract from the
interface org.apache.kafka.streams.processor.TimestampExtractor:
public class OwnTimeExtractor implements TimestampExtractor {
@Override
public long extract(final ConsumerRecord<Object, Object> record, final long previousTimestamp) {
// previousTimestamp is always == -1. For version 2.3
}
}
Previous version 2.2.1 was returning the correct value for the record partition.
{noformat}
was:
From the users mailing list
{noformat}
am testing the new version 2.3 for Kafka Streams specifically. I have
noticed that now, the implementation of the method extract from the
interface org.apache.kafka.streams.processor.TimestampExtractor
*public* *long* extract(ConsumerRecord<Object, Object> record, *long*
previousTimestamp)
is always returning -1 as value.
Previous version 2.2.1 was returning the correct value for the record
partition.
{noformat}
> Change to track partition time breaks TimestampExtractor
> --------------------------------------------------------
>
> Key: KAFKA-8615
> URL: https://issues.apache.org/jira/browse/KAFKA-8615
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 2.3.0
> Reporter: Bill Bejeck
> Assignee: Bill Bejeck
> Priority: Major
>
> From the users mailing list, *UPDATED* by Jonathan Santilli:
> {noformat}
> Am testing the new version 2.3 for Kafka Streams specifically. I have noticed that now, the implementation of the method extract from the
> interface org.apache.kafka.streams.processor.TimestampExtractor:
> public class OwnTimeExtractor implements TimestampExtractor {
> @Override
> public long extract(final ConsumerRecord<Object, Object> record, final long previousTimestamp) {
> // previousTimestamp is always == -1. For version 2.3
> }
> }
> Previous version 2.2.1 was returning the correct value for the record partition.
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)