How to configure kafka with kraft with metricbeat 8.12

I have a cluster of three nodes for kafka with kraft with a running cluster of elasticsearch on others 7 nodes with 2 logstash and one kibana.
I want to monitor the topics/partitions/replicas/consumergroups/brokers of kafka with kraft and the other metrics cpu usage and RAM.