confluent-schema-registry
confluent-schema-registry copied to clipboard
Long type support
Hi,
I test kafka.js and avsc, confluent-schema-registry
But I don't found long type support
confluent-schema-registry parse long type to javascript number type it will be loss data!
How can I support long type data without data loss?
@Nevon any insight on this?
Maybe we should expose the underlying avsc module so that consumers can add custom types themselves, as shown in the avsc documentation.
Another alternative would be to be opinionated and add a BigInt based LongType ourselves, if we drop Node 8 support, but I suspect that would cause quite some issues since suddenly people would start getting BigInts instead of Numbers when decoding longs.
any progress on this issue?