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