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

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

     [ https://issues.apache.org/jira/browse/KAFKA-14314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mickael Maison resolved KAFKA-14314.
------------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

> 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
>            Assignee: John Krupka
>            Priority: Blocker
>             Fix For: 3.4.0
>
>
> 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)