Yuriy Badalyantc created KAFKA-20892:
----------------------------------------
Summary: SimpleHeaderConverter infers a string header as a number
if it starts with a digit
Key: KAFKA-20892
URL: https://issues.apache.org/jira/browse/KAFKA-20892
Project: Kafka
Issue Type: Bug
Components: connect
Affects Versions: 4.3.1
Reporter: Yuriy Badalyantc
Assignee: Yuriy Badalyantc
When `SimpleHeaderConverter` tries to decode a header with value like this:
`1::2`, it mistakenly infers the type of the value as number and returns `1` as
a result of decoding.
The reason is in the `Values.parseString` implementation. There was a
[ticket|https://issues.apache.org/jira/browse/KAFKA-9083] to fix a number of
similar parsing problems, but this particular problem was not included.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)