[ https://issues.apache.org/jira/browse/KAFKA-9781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135169#comment-17135169 ]
fml2 commented on KAFKA-9781: ----------------------------- I've created [https://github.com/apache/kafka/pull/8869] for this. > TimestampConverter / Allow to specify a time zone when converting unix epoch > to string > -------------------------------------------------------------------------------------- > > Key: KAFKA-9781 > URL: https://issues.apache.org/jira/browse/KAFKA-9781 > Project: Kafka > Issue Type: Wish > Components: KafkaConnect > Reporter: fml2 > Priority: Major > > TimestampConverter can convert a unix epoch value (long; number of > milliseconds since Jan 01 1970 00:00 GMT) to string. However, when doing such > conversion, the string result depends on the time zone used. > TimestampConverter uses UTC (i.e. GMT) for the conversion and does not allow > to change it. But I would need this in order to get the date/time > representation in my local time zone. > So I propose to introduce another config parameter (optional) for > "target.type=string": *timeZone* (use java name as the value for the > parameter). If no time zone is specified, UTC should be used, so that the > change is backwards compatible. -- This message was sent by Atlassian Jira (v8.3.4#803005)