You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2016/05/04 17:32:12 UTC

[jira] [Resolved] (KAFKA-3646) Console producer using new producer should set timestamp

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

Guozhang Wang resolved KAFKA-3646.
----------------------------------
    Resolution: Not A Bug

This is not an issue as {{KafkaProducer}} already set timestamp as current wall-clock time.

> Console producer using new producer should set timestamp
> --------------------------------------------------------
>
>                 Key: KAFKA-3646
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3646
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Guozhang Wang
>            Assignee: Guozhang Wang
>             Fix For: 0.10.0.0
>
>
> {{kafka.tools.ConsoleProducer}}'s default usage of the new producer does not explicitly set the timestamp, and hence for default timestamp type settings (CreationTime) the returned timestamp from broker would be set to -1.
> We need to consider whether or not it makes sense to set the timestamp in console producer.



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