Hmm.. when the producer has zstd enabled, then we should fail if the broker doesn't support v7 of the produce API. Maybe we can pass the `CompressionType` to this builder and add the validation to the `build` method?
[ Full content available at: https://github.com/apache/kafka/pull/2267 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org