Supported kafka version with logstash 7.5.1

I upgraded the kafka from 0.10.0 to 2.5 and also logstash from 2.4 to 7.5.1 after upgrade logstash is sending empty messages to Kafka( i can see this in kafka UI) but I can see messages in kafka UI which is forwarded from logstash 2.4 (this is another host running with logstash 2.4)

Logstash is unable to forward messages to kafka topics. in the logstash log I'm seeing kafka client version 2.3 which is a jar version. What is the supported kafka version with logstash 7.5 kafka documentation is not updated with this information?

Please don't post the same question multiple times. Let's continue the discussion here - Find logstash compatibility with kafka