I register a Schema with the Schema registry as follows:
{ Prop1:val1,
prop2:val2,
prop3:val3}
all fields above are optional
When I send data payload via Rest Proxy that looks like the following:
{ "":val1, Prop2:val2, Prop3:val3 }
I expect the schema registry to throw an error. but that is not happening. the data goes through to the sink connector and the first key/value pair is ignored.
Is this expected behavior? How do I force an error if the properties are not present (the property is optional, but when we send a blank property, it should throw an error).