How to monitor kafka cluster with metricbeat using jolokia module

I have a cluster of kafka consisting three nodes.
I am using kafka with kraft and metricbeat 8.12 version.
kibana and elasticsearch version are 8.12.
There is dashboard on the kibana of kafka metricbeat but the data is not correct only two brokers are shown and the data of partitions and replicas is incorrect.
It is mentioned that there is no warranty that details will be correct use jolokia whereas i enable kafka module only.

different ip's on all three servers of kafka and i can see cpu usage in observability under inventory on kibana

- module: kafka
  metricsets:
    - partition
    - consumergroup
    - broker
  enabled: true
  period: 10s
  hosts: ["1.1.1.1:9092"]

Following this link:-