You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "John Krupka (Jira)" <ji...@apache.org> on 2022/10/18 11:21:00 UTC

[jira] [Created] (KAFKA-14314) MirrorSourceConnector throwing NPE during `isCycle` check

John Krupka created KAFKA-14314:
-----------------------------------

             Summary: MirrorSourceConnector throwing NPE during `isCycle` check
                 Key: KAFKA-14314
                 URL: https://issues.apache.org/jira/browse/KAFKA-14314
             Project: Kafka
          Issue Type: Bug
          Components: mirrormaker
    Affects Versions: 3.3.1
            Reporter: John Krupka


We are using MirrorMaker to replicate topics across clusters in AWS. As the process is starting up, we are getting a NullPointerException when MirrorSourceConnector is calling `isCycle`.

Retrieving the `upstreamTopic` on [this line of code|https://github.com/apache/kafka/blob/cc582897bfb237572131369a598f7869220b43dc/connect/mirror/src/main/java/org/apache/kafka/connect/mirror/MirrorSourceConnector.java#L497] is returning null, which causes the NPE on the next line. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)