KafkaEsque icon indicating copy to clipboard operation
KafkaEsque copied to clipboard

Add deserialization support for Avro logical types in UI

Open Protoss78 opened this issue 2 years ago • 1 comments

Would be great to have KafkaEsque properly display the values of logical type fields like decimal or date. Currently it just displays a String representation of the byte array: screenshot

The Avro schema defined for the above screenshot looks like this:

{
    "name": "geo_latitude",
    "type": [
    "null",
    {
        "logicalType": "decimal",
        "precision": 9,
        "scale": 6,
        "type": "bytes"
    }
    ]
},
{
    "name": "geo_longitude",
    "type": [
    "null",
    {
        "logicalType": "decimal",
        "precision": 9,
        "scale": 6,
        "type": "bytes"
    }
    ]
}

Protoss78 avatar Sep 09 '22 07:09 Protoss78

Experimental support added with version 2.3.0 It can be toggled on or off in the settings: lt-support

patschuh avatar Oct 17 '22 09:10 patschuh