[
https://issues.apache.org/jira/browse/KAFKA-7776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Schofield resolved KAFKA-7776.
-------------------------------------
Resolution: Fixed
> Kafka Connect values converter parsing of ISO8601 not working properly
> ----------------------------------------------------------------------
>
> Key: KAFKA-7776
> URL: https://issues.apache.org/jira/browse/KAFKA-7776
> Project: Kafka
> Issue Type: Bug
> Components: connect
> Affects Versions: 1.1.0, 2.0.0
> Reporter: Andrew Schofield
> Assignee: Andrew Schofield
> Priority: Minor
>
> In org.apache.kafka.connect.data.Values, the
> Values.convertToDate/Time/Timestamp methods are intended to be able to accept
> Strings in ISO8601 format and convert into the Kafka Connect formats.
> However, the parser for strings incorrectly tokenizes the strings (having
> real trouble with colons) which means that the correct ISO8601 format is
> never actual presented as a single piece to the code that converts it into
> java.util.Date.
> The parser needs to be enhanced to accept an ISO8601 string as a single
> token, probably only when it knows that the intended use is as one of the
> date-based logical types.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)