Kafka - Schema Registry
Given this producer code snippet using KafkaAvroSerializer:
props.put("schema.registry.url", "http://localhost:8081");
ProducerRecord record = new ProducerRecord<>("topic", userRecord);
producer.send(record);
What happens if userRecord does not match the registered schema?