Greg Harris created KAFKA-15393:
-----------------------------------
Summary: MirrorMaker2 integration tests are shutting down uncleanly
Key: KAFKA-15393
URL: https://issues.apache.org/jira/browse/KAFKA-15393
Project: Kafka
Issue Type: Test
Components: mirrormaker
Reporter: Greg Harris
Assignee: Greg Harris
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)