Slackbot
02/05/2024, 1:33 PMLuca Burgazzoli
02/05/2024, 1:34 PMLuca Burgazzoli
02/05/2024, 1:37 PMLuca Burgazzoli
02/05/2024, 1:37 PMRecord<GenericObject> process(GenericObject input, Context context)Luca Burgazzoli
02/05/2024, 1:38 PMGenericObjectLuca Burgazzoli
02/05/2024, 1:38 PMAlexander Preuß
02/05/2024, 6:06 PMLuca Burgazzoli
02/05/2024, 6:50 PMRecord<GenericObject> --> byte[] --> Record<GenericObject>
for the first step, I guess the following code should work:
byte[] bytes = record.getSchema().encode(...)
however the other way is not super clear, I guess it is something on the same line
GenericObject result = record.getSchem().decode(bytes)
but it does not seems to be really be easy to do, or t least I have't figure out how to actually do itAlexander Preuß
02/06/2024, 9:03 AMthis partially help yes, so in my case what I want to do is
Maybe I’m missing something, but the input and output are the same 😅Copy codeRecord<GenericObject> --> byte[] --> Record<GenericObject>
Luca Burgazzoli
02/06/2024, 9:07 AMLuca Burgazzoli
02/06/2024, 9:07 AMLuca Burgazzoli
02/06/2024, 9:07 AMLuca Burgazzoli
02/06/2024, 9:08 AMLuca Burgazzoli
02/06/2024, 9:08 AMLuca Burgazzoli
02/06/2024, 9:09 AMLuca Burgazzoli
02/06/2024, 9:09 AMLuca Burgazzoli
02/06/2024, 9:09 AMLuca Burgazzoli
02/06/2024, 9:10 AMLuca Burgazzoli
02/06/2024, 9:10 AMAlexander Preuß
02/06/2024, 9:43 AMAutoConsumeSchema and AutoProduceBytesSchemaLuca Burgazzoli
02/06/2024, 9:44 AM