@Override
    public byte[] fromConnectData(String topic, Schema schema, Object value) {
        if (schema != null && schema.type() != Schema.Type.BYTES)
            throw new DataException("Invalid schema type for ByteArrayConverter: " + schema.type().toString());

        if (value != null && !(value instanceof byte[]) && !(value instanceof ByteBuffer))
            throw new DataException("ByteArrayConverter is not compatible with objects of type " + value.getClass());

        return value instanceof ByteBuffer ? getBytesFromByteBuffer((ByteBuffer) value) : (byte[]) value;
    }
Pass-through converter for raw byte data.
<p>
This implementation currently does nothing with the topic names or header keys.
connect/runtime/src/main/java/org/apache/kafka/connect/converters/ByteArrayConverter.java