nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Zhurakousky <ozhurakou...@hortonworks.com>
Subject Re: GetKafka and ConvertAvroToJson returns blank
Date Thu, 22 Dec 2016 18:49:41 GMT
Malini

Indeed that is a strange.
Would you mind looking at the logs to see if there are any exceptions/errors generated form
ConvertAvroToJson? Meanwhile I’ll run some tests with your data.

Cheers
Oleg

On Dec 22, 2016, at 1:37 PM, Malini Shetty <malini.shetty@gmail.com<mailto:malini.shetty@gmail.com>>
wrote:

Hi,
GetKafka processor is returning success message and data can be viewed in hex format. Next
processor called is ConvertAvroToJson is returning blank string, while Kafka confluent is
able to convert the avro binary data into Json format.

DB2 data is streamed thru CDC to Kafka, schema used in ConvertAvroToJson is


{ "namespace": "mynamespace.com<http://mynamespace.com/>", "type": "record", "name":
"TEST_DATA1", "fields": [ {"name": "ENAME", "type": "string"} ] }

Can you please help to understand why ConvertAvrotoJson is returning blank string?

I have used Putfile processor after GetKafka. Attached is the format and the string returned
using ConvertAvroToJson is blank.

Regards
Malini Shetty

<10677-hprojectodsdevbinaryavro.zip>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message