You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/01 20:34:00 UTC

[jira] [Commented] (KAFKA-8595) Support SerDe of Decimals in JSON that are not HEX encoded

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

ASF GitHub Bot commented on KAFKA-8595:
---------------------------------------

rhauch commented on pull request #7354: KAFKA-8595: Support deserialization of JSON decimals encoded in NUMERIC 
URL: https://github.com/apache/kafka/pull/7354
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Support SerDe of Decimals in JSON that are not HEX encoded
> ----------------------------------------------------------
>
>                 Key: KAFKA-8595
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8595
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Almog Gavra
>            Assignee: Almog Gavra
>            Priority: Major
>
> Most JSON data that utilizes precise decimal data represents it as a decimal string. Kafka Connect, on the other hand, only supports a binary HEX string encoding (see example below). We should support deserialization and serialization for any of the following types:
> {code:java}
> {
>   "asHex": "D3J5",
>   "asString": "10.12345"
>   "asNumber": 10.2345
> }{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)