Confluent interview question

How would you debug Java performance issues?