Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15393

MirrorMaker2 integration tests are shutting down uncleanly

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.3, 3.6.0, 3.4.2, 3.5.2
    • mirrormaker
    • None

    Description

      The MirrorConnectorsBaseIntegrationTest and it's derived test classes often shut down uncleanly. An unclean shutdown takes longer than a clean shutdown, because the shutdown must wait for timeouts to elapse.

      It appears that during the teardown, the MirrorConnectorsBaseIntegrationTest deletes all of the topics on the EmbeddedKafkaCluster. This causes extremely poor behavior for the connect worker (which is unable to access internal topics) and for the connectors (which get stuck on their final offset commit refreshing metadata and then get cancelled).

      The EmbeddedKafkaCluster is not reused for the next test, so cleaning the topics is unnecessary.

      Attachments

        Issue Links

          Activity

            People

              gharris1727 Greg Harris
              gharris1727 Greg Harris
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: