You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Gabor Somogyi (JIRA)" <ji...@apache.org> on 2019/02/13 13:52:00 UTC
[jira] [Created] (KAFKA-7927) Read committed receives aborted
events
Gabor Somogyi created KAFKA-7927:
------------------------------------
Summary: Read committed receives aborted events
Key: KAFKA-7927
URL: https://issues.apache.org/jira/browse/KAFKA-7927
Project: Kafka
Issue Type: Bug
Components: consumer, core, producer
Affects Versions: 1.0.0
Reporter: Gabor Somogyi
When a kafka client produces ~30k events and at the end it aborts the transaction a consumer can read part of the aborted messages when "isolation.level" set to "READ_COMMITTED".
Kafka client version: 2.0.0
Kafka broker version: 1.0.0
Producer:
{code:java}
java -jar kafka-producer/target/kafka-producer-0.0.1-SNAPSHOT-jar-with-dependencies.jar gsomogyi-cdh5144-220cloudera2-1.gce.cloudera.com:9092 src-topic
{code}
See attached code.
Consumer:
{code:java}
kafka-console-consumer --zookeeper localhost:2181 --topic src-topic --from-beginning --isolation-level read_committed
{code}
Same behavior seen when re-implemented the consumer in scala.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)