No connection between Kafka and Logstash

I tried today the following command but it hat no effect in logstash and after some time I get the following error message:

There is no output in logstash docker container:

Independently of the json format. Logstash should print on the standard output something, shouldnt it?

But on the other hand I can execute kafka-kopics.sh without an error (but also without any output in logstash)