C
C#10mo ago
rcnespoli

How can I decode Avro Message that have an embedded schema and after the message content?

How can I decode Avro Message that have an embedded schema and after the message content. I receive from kafka as byte[], and if if transform to string it looks like
Objavro.schema�~{WHOLE SCHEMA}l�G����ߐ��N ��K�
���INSERTaddress_mmastermasters"NmeStreamIdentity&2024-02-19 09:36:41&2024-02-19 09:36:41&2024-02-19 09:36:41���������COUNTRYMYCITY123MYCITYMYADDRESS,TMY ADDRESSAAA000AA������Tc2c80c7d-b46f-4eb6-b001-2ec4bddd8c95_PAD01Hc2c80c7d-b46f-4eb6-b001-2ec4bddd8c95��INSERTparty_add_mmastermasters"NmeStreamIdentity&2024-02-19 09:36:41&2024-02-19 09:36:41&2024-02-19 09:36:41������������Primaryޗ�&2022-08-17 10:09:38ActiveH1a66d9db-fd57-4342-a445-4796b4c2bffdl�G����ߐ��N ��K
Objavro.schema�~{WHOLE SCHEMA}l�G����ߐ��N ��K�
���INSERTaddress_mmastermasters"NmeStreamIdentity&2024-02-19 09:36:41&2024-02-19 09:36:41&2024-02-19 09:36:41���������COUNTRYMYCITY123MYCITYMYADDRESS,TMY ADDRESSAAA000AA������Tc2c80c7d-b46f-4eb6-b001-2ec4bddd8c95_PAD01Hc2c80c7d-b46f-4eb6-b001-2ec4bddd8c95��INSERTparty_add_mmastermasters"NmeStreamIdentity&2024-02-19 09:36:41&2024-02-19 09:36:41&2024-02-19 09:36:41������������Primaryޗ�&2022-08-17 10:09:38ActiveH1a66d9db-fd57-4342-a445-4796b4c2bffdl�G����ߐ��N ��K
5 Replies
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Denis
Denis10mo ago
It is still widely used at commerzbank 💀
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
rcnespoli
rcnespoliOP10mo ago
I will take a look thanks I tried using Apache Avro and Hadoop, but didn't worked
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server