You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I was working with the GenericSingleObjectReader and GenericSingleObjectWriter objects to read and write the Kafka messages that the other tools in my company are using, I noticed that they are currently hard-coded to use a specific header fingerprint format: reader, writer. The messages that I am working with use an AWS Glue Schema Registry and the corresponding header format on messages.
As a result of this, to handle these messages, I have to write a wrapper for the reader which reads out the Glue schema UUID manually, strips out those bytes, and adds on the header that the library expects, and for the writer that strips out the library-generated header and generates a new Glue header for the message. This all seems cumbersome to me. Are there any plans and/or interest to support either completely bare Avro data or proper interpretation of other types of message headers?
I'm open to building a solution. It seems complex enough that I'd like to discuss some possible designs to fix the issue though. I would expect we would want to provide a way to support other message header types without making API changes that would break current users.
Activity
martin-g commentedon Mar 18, 2025
Would you like to send a PR ?
masongup-mdsol commentedon Mar 19, 2025
I'm open to building a solution. It seems complex enough that I'd like to discuss some possible designs to fix the issue though. I would expect we would want to provide a way to support other message header types without making API changes that would break current users.
martin-g commentedon Apr 14, 2025
I'm closing the issue since there is no activity for almost a month now.
Please refer to it if you decide to send a Pull Request with an improvement!
[feat] Support different header types (#190)