Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8595

Support SerDe of Decimals in JSON that are not HEX encoded

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      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:

      {
        "asHex": "D3J5",
        "asString": "10.12345"
        "asNumber": 10.2345
      }

      Attachments

        Issue Links

          Activity

            People

              agavra Almog Gavra
              agavra Almog Gavra
              Randall Hauch Randall Hauch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: