Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to read latest version of schema from HortonWorks schema registry in NiFi

Unable to read latest version of schema from HortonWorks schema registry in NiFi

New Contributor

Hi There,

 

We are having schema registered in Horton Works schema registry . Schema has multiple versions

Ex: v1,v2,v3,v4

v1 ( id : 1 , schema metadata id : 1 )

v2 ( id : 2 , schema metadata id : 1 )

v3 ( id : 3 , schema metadata id : 1 )

v4 ( id : 4 , schema metadata id : 1 )

 

NiFi Job

 

ConsumeKafkaRecord ( Reader : Avroreader , Writer : JSONWriter )

     Avroreader : ( SchemaAccessStratergy : ConfluentContentEncoded Schema Access Strategy )

 

|

LogAttribute

 

If i post message to Kafka topic with id as 1 then it is correctly fetching the v1 schema

If i post message to Kafka topic with id as 2 or 3 or 4 then it is throwing error
"Schema Not Found Exception" ( 404 error )

I might not have been able to put the problem statement properly , please let me know if you have any queries to understand the problem .

 

Kindly help with your inputs to resolve the issue.

Don't have an account?
Coming from Hortonworks? Activate your account here