Skip to content

Avro compact deserializer bug - ID set to type #697

Description

@pawel-boguski-ds

Activity

  1. pierDipi commented on Jun 26, 2025

    @pierDipi
    Member

    @pawel-boguski-ds would you be willing to contribute a fix?

  2. pawel-boguski-ds commented on Jul 3, 2025

    @pawel-boguski-ds
    Author

    Sorry, but probably I will not find time for this.

  3. Taimoo-r commented on Aug 4, 2026

    @Taimoo-r

    Hi @pierDipi,

    I would like to work on this one. Looking at AvroCompactFormat.java line 90, the fix is changing .withId(from.getType()) to .withId(from.getId()). I will also update AvroCompactFormatTest.java to use different values for type and id in the test event so this does not regress silently again.

    Happy to open a PR with this fix if that sounds right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions