Metricbeat Kafka Module “error in connect: EOF”

Hi

I'm facing error with Metricbeat kafka module (similar to Metricbeat Kafka Module "error in connect: EOF")
2019-11-19T02:43:51.762-0800 INFO kafka/log.go:53 Connected to broker at localhost:9094 (unregistered)
2019-11-19T02:43:51.762-0800 INFO kafka/log.go:53 Connected to broker at localhost:9094 (unregistered)
2019-11-19T02:43:51.764-0800 INFO kafka/log.go:53 Closed connection to broker localhost:9094
2019-11-19T02:43:51.764-0800 INFO kafka/log.go:53 Closed connection to broker localhost:9094
2019-11-19T02:43:51.764-0800 INFO module/wrapper.go:247 Error fetching data for metricset kafka.consumergroup: error in connect: unexpected EOF
2019-11-19T02:43:51.764-0800 INFO module/wrapper.go:247 Error fetching data for metricset kafka.partition: error in connect: unexpected EOF

I'm using metricbeat 7.3 and kafka 2.3.0.
Any idea on the cause or how to fix it is appreciated.