As of today, the latest Kafka docs show kafka.javaapi.producer.Producer in their example of the producer API ( https://kafka.apache.org/documentation.html#producerapi).
Is there a reason why the latest producer client (org.apache.kafka.clients.producer.Producer) isn't mentioned? Is this client not preferred or production-ready?