Al created KAFKA-9781: ------------------------- Summary: 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: Al
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 for that). If no time zone is specified, UTC should be used. -- This message was sent by Atlassian Jira (v8.3.4#803005)