@Override
    public void configure(Map<String, ?> configs) {
        BooleanConverterConfig conf = new BooleanConverterConfig(configs);
        boolean isKey = conf.type() == ConverterType.KEY;
        serializer.configure(configs, isKey);
        deserializer.configure(configs, isKey);
    }
{@link Converter} and {@link HeaderConverter} implementation that supports serializing to and
deserializing from Boolean values.
<p>
When converting from bytes to Kafka Connect format, the converter will always return an optional
BOOLEAN schema.
connect/runtime/src/main/java/org/apache/kafka/connect/converters/BooleanConverter.java