Skip to content
Advertisement

Kafka Stream with Avro in JAVA , schema.registry.url” which has no default value

I have the following configuration for my Kafka Stream application

JavaScript

And I got the following error:

JavaScript

I have tried to replace the line

JavaScript

with

JavaScript

but with the same error

I have followed the instruction from this url when preparing my Stream application.

Any suggestion?

Advertisement

Answer

If you have keys and values in Avro format the following lines should do the trick for you,

JavaScript

If this doesn’t seem to work you can override Serdes explicitly. For example, if you have Avro keys:

JavaScript
Advertisement