title: Getting KafkaConsumer is not safe for multi-threaded access error when I use CuratorFrameworkFactory.newClient()
body: <p>I am receiving this error below:</p>
  
  <pre><code>java.util.ConcurrentModificationException: KafkaConsumer is not safe for multi-threaded access
  </code></pre>
  
  <p>when I include this in my code:</p>
  
  <pre><code>CuratorFrameworkFactory.newClient()
  </code></pre>
  
  <p>I don't understand what's causing the error. Any help?</p>
  
  <p>Thanks.</p>