title: Check If System Is Connected To Kafka
body: <p>I need to write a smoke test in Java which validates whether the system is connected to kafka,</p>
  
  <p>Does anyone have any idea?
  I have found this post:</p>
  
  <p><a href="https://stackoverflow.com/questions/37920923/how-to-check-whether-kafka-server-is-running">How to check whether Kafka Server is running?</a></p>
  
  <p>But it's too complicated to do from a Java code and I don't think It's the direction i should use.</p>
  
  <p>Thanks in advance.</p>