private byte[] toBytes(String value) {
        if (value != null) {
            return value.getBytes(StandardCharsets.UTF_8);
        } else {
            return null;
        }
    }
Write the raw records into a Kafka topic and return the producer future.

@param context processing context containing the raw record at {@link ProcessingContext#original()}.
@return the future associated with the writing of this record; never null
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/errors/DeadLetterQueueReporter.java