'cp-kafka: java.io.IOException: Invalid argument exception

I am working on Kafka running on docker with Linux container o Windows server 2022. When I connect to Kafka getting below error. enter image description here

Below is YML file which run successfully. enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source