[ 
https://issues.apache.org/jira/browse/KAFKA-4877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904148#comment-15904148
 ] 

Jiangjie Qin commented on KAFKA-4877:
-------------------------------------

[~hachikuji] The original idea was that the producer should always send using 
create time and it was sufficient to know the actual timestamp used in the log. 
I do not remember if there was any use case brought up for knowing the 
timestamp type on the producer side. Besides that, it seems more related to how 
to let the producer know some broker configurations, which might be better to 
be done in DescribeConfigRequest by KIP-4. Otherwise we will have the same 
information in all RecordMetadata which seems redundant.

> Expose TimestampType in Producer RecordMetadata
> -----------------------------------------------
>
>                 Key: KAFKA-4877
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4877
>             Project: Kafka
>          Issue Type: Bug
>          Components: producer 
>            Reporter: Jason Gustafson
>            Priority: Minor
>              Labels: needs-kip
>
> Since we already expose the record timestamp type in {{ConsumerRecord}}, 
> perhaps we should consider also exposing it in the producer's 
> {{RecordMetadata}} so that producers have a way to tell which timestamp type 
> was used.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to