Confluent interview question

How to troubleshoot Java high cpu and heap issue