You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jeff Kim (Jira)" <ji...@apache.org> on 2020/07/30 18:41:00 UTC

[jira] [Created] (KAFKA-10328) MockConsumer behaves differently than KafkaConsumer

Jeff Kim created KAFKA-10328:
--------------------------------

             Summary: MockConsumer behaves differently than KafkaConsumer
                 Key: KAFKA-10328
                 URL: https://issues.apache.org/jira/browse/KAFKA-10328
             Project: Kafka
          Issue Type: Bug
          Components: consumer
            Reporter: Jeff Kim
            Assignee: Jeff Kim


the behavior of `MockConsumer` is different from `KafkaConsumer` under multi-threaded access.

MockConsumer should throw `ConcurrentModificationException` instead of synchronizing all methods.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)