Hi, I have a multi-threaded Kafka consumer. I have auto commit disabled and from each thread, I periodically call commitOffsets() to commit the offsets to Kafka.
Is this thread safe ? What is the effect of calling commitOffsets() concurrently from multiple threads ? Should the consumer writer ensure that the call to commitOffsets() is synchronized across multiple threads ? Thanks, Ashish