title: kafka Synchronization :"java.io.IOException: Too many open files"
body: <p>we are having problem with Kafka. sometimes Suddenly, without warning we go out of Synchronization  and start to get exceptions when emitting events.</p>
  
  <p>the exception we are getting is </p>
  
  <pre><code>java.io.IOException: Too many open files
  </code></pre>
  
  <p>it seems this is a generic exception thrown by Kafka in many cases. We investigated it a little and we think the root cause is when trying to emit events to some topic, it fails because kafka dosen't have a leader partition for this topic</p>
  
  <p>can someone help ?</p>