Converts the request to an array of bytes that is expected by Kafka.
Determines if the request has valid settings.