I have turned on schema validation for the kafka topic value. After that I am getting this exception. I have registered a schema in the schema registry and the subject name is the topic name.
org.apache.kafka.common.InvalidRecordException: One or more records have been rejected
I turned on trace and checked in the logs and I see this exception,
Invalid record due to missing magic byte (io.confluent.kafka.schemaregistry.validator.RecordSchemaValidator)
I switched to the kafka-json-schema-console-producer and see this. Where can I get the list of schema violations?
Caused by: org.everit.json.schema.ValidationException: #: 6 schema violations found