<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Read binary avro data from Kafka using Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351486#M236283</link>
    <description>&lt;P&gt;Thanks, do you have the Avro schema for it?&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2022 04:31:16 GMT</pubDate>
    <dc:creator>araujo</dc:creator>
    <dc:date>2022-09-05T04:31:16Z</dc:date>
    <item>
      <title>Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351264#M236198</link>
      <description>&lt;P&gt;I want to be able to read binary Avro data from Kafka using ConsumeKafka Processor. And I am able to do that, but the content type of the file is in "application/octet-stream". Not able to view it as well, it says "&lt;SPAN&gt;No viewer is registered for this content type". I am not even able to convert this avro data to json, since the content type is octet-stream. But when i use "kafka-avro-console-consumer" on the console the data is in json. How to get this json data into Nifi?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 18:27:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351264#M236198</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-08-31T18:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351277#M236204</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88091"&gt;@syntax_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe you have a schema that you can use to parse your Avro data, right?&lt;/P&gt;&lt;P&gt;Instead of using ConsumeKafka, use the ConsumeKafkaRecord processor. In that processor specify an Record Reader of type AvroReader and provide the correct schema so that the reader can properly deserialize your data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to convert the data for JSON, you can then specify a JsonRecordSetWriter as the Record Writer for that processor, so that the output flowfiles will be in that format and you'll be able to inspect the content of the queues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 01:32:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351277#M236204</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-01T01:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351287#M236210</link>
      <description>&lt;P&gt;I used the&amp;nbsp;&lt;SPAN&gt;ConsumeKafkaRecord processor as well. I gave RecordReader as Avro reader. But when I run it, it gives an error saying "invalidMagicException: Not an Avro data file". Is there something I am missing here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 04:22:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351287#M236210</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-09-01T04:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351301#M236218</link>
      <description>&lt;P&gt;Would you be able to save one of these files in a file and share it with me?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 09:25:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351301#M236218</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-01T09:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351304#M236220</link>
      <description>&lt;P&gt;Yes sure, do you need the data that i am sending to Nifi or the data that has been processed by nifi.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 10:16:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351304#M236220</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-09-01T10:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351306#M236222</link>
      <description>&lt;P&gt;If you could provide both it would help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 10:25:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351306#M236222</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-01T10:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351318#M236223</link>
      <description>&lt;P&gt;Here is the output for "kafka-avro-console-consumer --from-beginning --bootstrap-server admin:9092 --topic pbs_jobs"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"comment":"Job run at Thu Aug 18 at 04:21 on (node01:ncpus=1)","timestamp":1660963434048,"job_state":"Job Completed","host":"admin","job_id":"65.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 04:22 on (node01:ncpus=1)","timestamp":1660963434048,"job_state":"Job Completed","host":"admin","job_id":"66.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 04:22 on (node01:ncpus=1)","timestamp":1660963434048,"job_state":"Job Completed","host":"admin","job_id":"67.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 04:23 on (node02:ncpus=10)","timestamp":1660963434048,"job_state":"Job Completed","host":"admin","job_id":"68.admin","job_user":"root","job_group":"root"}
{"comment":"Not Running: Insufficient amount of resource: ncpus (R: 10 A: 1 T: 16)","timestamp":1660963434048,"job_state":"Job Queued","host":"admin","job_id":"69.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 07:13 on (node02:ncpus=1)","timestamp":1660963494042,"job_state":"Job Completed","host":"admin","job_id":"70.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 04:16 on (node01:ncpus=1)","timestamp":1660963494042,"job_state":"Job Completed","host":"admin","job_id":"64.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 04:21 on (node01:ncpus=1)","timestamp":1660963494042,"job_state":"Job Completed","host":"admin","job_id":"65.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 04:22 on (node01:ncpus=1)","timestamp":1660963494042,"job_state":"Job Completed","host":"admin","job_id":"66.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 04:22 on (node01:ncpus=1)","timestamp":1660963494042,"job_state":"Job Completed","host":"admin","job_id":"67.admin","job_user":"root","job_group":"root"}
{"comment":"Job run at Thu Aug 18 at 04:23 on (node02:ncpus=10)","timestamp":1660963494042,"job_state":"Job Completed","host":"admin","job_id":"68.admin","job_user":"root","job_group":"root"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I send this data to nifi using ConsumeKafkaRecord:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (277).png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35422iFDD9276DDC7731A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (277).png" alt="Screenshot (277).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting this as output:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="syntax__0-1662030243376.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35423i04DAA946D2D06E7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="syntax__0-1662030243376.png" alt="syntax__0-1662030243376.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 11:04:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351318#M236223</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-09-01T11:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351376#M236236</link>
      <description>&lt;P&gt;I actually wanted to have a look at the binary Avro data that is in Kafka, not the deserialized content.&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;kafka-console-consumer --from-beginning --bootstrap-server admin:9092 --topic pbs_jobs --max-messages 1 &amp;gt; message.avro&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 05:09:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351376#M236236</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-02T05:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351387#M236241</link>
      <description>&lt;P&gt;Okay, this is the output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="syntax__0-1662101229322.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35441i3A3F62ECEE6488FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="syntax__0-1662101229322.png" alt="syntax__0-1662101229322.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is in this format&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"dJob run at Thu Aug 18 at 04:16 on (node01:ncpus=1)▒▒đ▒`Job Completed
admin64.admirooroot&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Sep 2022 06:47:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351387#M236241</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-09-02T06:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351418#M236251</link>
      <description>&lt;P&gt;Can you please send me that file in a private message. Copy and paste won't work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 10:16:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351418#M236251</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-02T10:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351461#M236264</link>
      <description>&lt;P&gt;I tried sending it, but there seems to be no option to send a file. Can you please help me on that?&lt;BR /&gt;There is no insert option. Only the insert link is there. Sorry new to this website.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 17:03:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351461#M236264</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-09-03T17:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351476#M236276</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88091"&gt;@syntax_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try running this command: &lt;FONT face="courier new,courier"&gt;xxd&amp;nbsp;message.avro&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Then you can copy and paste the output here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 00:29:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351476#M236276</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-05T00:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351480#M236280</link>
      <description>&lt;P&gt;Here is the output:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;00000000: 0000 0000 2264 4a6f 6220 7275 6e20 6174 ...."dJob run at&lt;BR /&gt;00000010: 2054 6875 2041 7567 2031 3820 6174 2030 Thu Aug 18 at 0&lt;BR /&gt;00000020: 343a 3136 206f 6e20 286e 6f64 6530 313a 4:16 on (node01:&lt;BR /&gt;00000030: 6e63 7075 733d 3129 c4f0 c491 d760 1a4a ncpus=1).....`.J&lt;BR /&gt;00000040: 6f62 2043 6f6d 706c 6574 6564 0a61 646d ob Completed.adm&lt;BR /&gt;00000050: 696e 1036 342e 6164 6d69 6e08 726f 6f74 in.64.admin.root&lt;BR /&gt;00000060: 0872 6f6f 740a .root.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 03:45:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351480#M236280</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-09-05T03:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351486#M236283</link>
      <description>&lt;P&gt;Thanks, do you have the Avro schema for it?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 04:31:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351486#M236283</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-05T04:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351487#M236284</link>
      <description>&lt;P&gt;Yes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"name": "PbsJobData",&lt;BR /&gt;"type": "record",&lt;BR /&gt;"namespace": "pbsjob",&lt;BR /&gt;"fields": [&lt;BR /&gt;{&lt;BR /&gt;"name": "comment",&lt;BR /&gt;"type": "string",&lt;BR /&gt;"doc": "comment associated with the pbs job"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "timestamp",&lt;BR /&gt;"type": "long",&lt;BR /&gt;"logicalType": "timestamp-millis",&lt;BR /&gt;"doc": "timestamp of scheduler metric"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "job_state",&lt;BR /&gt;"type": "string",&lt;BR /&gt;"doc": "job status"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "host",&lt;BR /&gt;"type": "string",&lt;BR /&gt;"doc": "Name of the PBS scheduler server"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "job_id",&lt;BR /&gt;"type": "string",&lt;BR /&gt;"doc": "The job ID assigned by PBS"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "job_user",&lt;BR /&gt;"type": "string",&lt;BR /&gt;"doc": "The job user"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "job_group",&lt;BR /&gt;"type": "string",&lt;BR /&gt;"doc": "The job group"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 04:36:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351487#M236284</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-09-05T04:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351492#M236285</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88091"&gt;@syntax_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to me that your source Kafka is a Confluent Kafka cluster and the producer uses schema registry to source the schema from it. In this case, the KafkaAvroSerializer prepends 5 bytes to every message produced to indicate the id of the schema that was used (in you case, schema id 34). If you try to read this message as a pure Avro payload the deserialization will fail because those 5 bytes are not part of the Avro payload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, the best way to handle this in NiFi is to also use Schema Registry to deserialize Avro messages. With this, NiFi will get the schema ID from the message 5-byte prefix, use that ID to retrieve the correct schema from Schema Registry and then correctly deserialize the Avro payload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Considering that my guess is correct and you're using a Confluent Schema Registry, you should create a new ConfluentSchemaRegistry controller service and configure it with the details of your Schema Registry. Once this is done, edit the configuration of the Avro Reader controller service and set the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_0-1662355081260.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35450iDDBA0AE4547477E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_0-1662355081260.png" alt="araujo_0-1662355081260.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After you do this, your flow should be able to correctly process the messages that you're reading from Kafka.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read the binary message that you send me with NiFi and loaded the schema in my local schema registry service (making sure it got assigned the right ID 34), and I was able to successfully convert the message from Avro to JSON using a ConvertRecord processor:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_1-1662355234277.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35451i83A68B4A21E81F07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_1-1662355234277.png" alt="araujo_1-1662355234277.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="araujo_2-1662355261958.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35452iE336958C72913DC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="araujo_2-1662355261958.png" alt="araujo_2-1662355261958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 05:21:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351492#M236285</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-09-05T05:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read binary avro data from Kafka using Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351503#M236289</link>
      <description>&lt;P&gt;Yes, it works. Thank you so much!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 06:17:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Read-binary-avro-data-from-Kafka-using-Nifi/m-p/351503#M236289</guid>
      <dc:creator>syntax_</dc:creator>
      <dc:date>2022-09-05T06:17:41Z</dc:date>
    </item>
  </channel>
</rss>

