Skip to content

Support AVRO logical types#98

Open
Dreamescaper wants to merge 3 commits into
kafbat:mainfrom
Dreamescaper:support-logical-types
Open

Support AVRO logical types#98
Dreamescaper wants to merge 3 commits into
kafbat:mainfrom
Dreamescaper:support-logical-types

Conversation

@Dreamescaper
Copy link
Copy Markdown

@Dreamescaper Dreamescaper commented Jan 5, 2026

Fixes #71 .

This PR implements AVRO logical types in JSON serialization. Unfortunately, AVRO's jsonEncoder does not support logical types (https://issues.apache.org/jira/browse/AVRO-1950).

In this PR I have created JsonAvroConversion type, which is heavily inspired by JsonAvroConversion from kafka-ui:
kafbat/kafka-ui@main/api/src/main/java/io/kafbat/ui/util/jsonschema/JsonAvroConversion.java

@Haarolean Haarolean self-assigned this Jan 5, 2026
@Dreamescaper Dreamescaper force-pushed the support-logical-types branch 2 times, most recently from 6cd9ea1 to 38d5867 Compare January 5, 2026 13:18
Олександр Ляхевич added 2 commits January 5, 2026 15:33
@Dreamescaper Dreamescaper force-pushed the support-logical-types branch from 38d5867 to c0c6973 Compare January 5, 2026 13:33
@Dreamescaper Dreamescaper force-pushed the support-logical-types branch from c740bc7 to 6bd8b6c Compare January 6, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Avro logical types

2 participants