You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "James Clarke (JIRA)" <ji...@apache.org> on 2016/06/15 19:46:09 UTC
[jira] [Created] (KAFKA-3848) Mirror Maker sometimes fails to
mirror first batch of messages
James Clarke created KAFKA-3848:
-----------------------------------
Summary: Mirror Maker sometimes fails to mirror first batch of messages
Key: KAFKA-3848
URL: https://issues.apache.org/jira/browse/KAFKA-3848
Project: Kafka
Issue Type: Bug
Affects Versions: 0.10.0.0, 0.9.0.1
Reporter: James Clarke
I am seeing an intermittent issue in Mirror Maker where the first batch of messages are not always mirrored to the target cluster. All messages after the first batch are mirrored.
I have a github repo ([jc/kafka-mirror-maker-test|https://github.com/jc/kafka-mirror-maker-test]) which reproduces the issue using Confluent's docker containers (running 0.10.0). However on our environment we are using our own kafka containers running 0.9.0.1.
Environment:
- edge datacenter dc1. 1 zk server, 1 kafka server.
- aggregate datacenter dc2. 1 zk server, 1 kafka server, 1 mirror maker.
- kafka server setup to auto create topics
- Mirrror maker configured mirror from dc1 to dc2 using a whitelist containing both explicitly topics and regex topics.
Steps to reproduce:
- Send message to a non-existent topic in dc1.
- Send a second message to topic in dc1.
Observed:
- After first message the topic is not created in dc2.
- After second message topic is present in dc2.
- Consuming from topic in dc1 shows both messages.
- Consuming from topic in dc2 shows only the second message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)