Broker side message validation with schema

I want the confluent kafka brokers to ignore bad formatted messages. Is it possible? I set the configurations, but am able to write bad messages still