Open moscicky opened 10 months ago
Can i take care of it? : )
Hi, sure 😄 in case of any questions/problems feel free to ask
@szczygiel-m I have prepared the proposition of the fix. Could I ask for permission to create a draft PR?
Proposal: During AVRO-to-JSON conversion, we transform messages with the logical decimal type into a BigDecimal and then into a String. This ensures that subscription consumers receive the decimal value itself rather than the byte buffer contents. This conversion does not apply to AVRO-to-JSON conversion for previews of messages published to the topic. https://github.com/allegro/hermes/pull/1920
Test that reproduces the bug: https://github.com/allegro/hermes/commit/b9773ce4bdb0c7ddf5b1edb630e5bd658ec897e9