Kafka producer throwing error

I get an error when trying to produce an event to a cloudkafka.com Kafka free cluster. When doing it from a sample java command line program I put together, the process connects and publishes successfully to the Kafka cluster. When a Camunda 8 Kafka connector tries to do it (with the exact same properties as the java command line program) it fails with error message "
Failed to construct kafka producer" . I am on Camunda 8 cloud.

How do I get the more detailed message?