Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We have many tests which accidentally leak Kafka clients and servers. This contributes to test flakiness and build instability.
We should use a test extension to make it easier to find these leaked clients and servers, and force test-implementors to resolve their resource leaks prior to merge.
Attachments
Attachments
Issue Links
- relates to
-
KAFKA-15343 Fix MirrorConnectIntegrationTests causing ci build failures.
- In Progress
-
KAFKA-16072 Create Junit 5 extension to detect thread leak
- Open
- Testing discovered
-
KAFKA-16768 SocketServer leaks accepted SocketChannel instances due to race condition
- Open
-
KAFKA-15826 WorkerSinkTask leaks Consumer if plugin start or stop blocks indefinitely
- Open
-
KAFKA-15834 Subscribing to non-existent topic blocks StreamThread from stopping
- Resolved
-
KAFKA-15804 Broker leaks ServerSocketChannel when exception is thrown from ZkConfigManager during startup
- Resolved
-
KAFKA-15816 Typos in tests leak network sockets
- Resolved
-
KAFKA-15819 KafkaServer leaks KafkaRaftManager when ZK migration enabled
- Resolved
-
KAFKA-15827 KafkaBasedLog.withExistingClients leaks clients if start is not called
- Resolved
-
KAFKA-16765 NioEchoServer leaks accepted SocketChannel instances due to race condition
- Resolved
-
KAFKA-16967 NioEchoServer fails to register connection and causes flaky failure
- Resolved
-
KAFKA-17201 SelectorTest.testInboundConnectionsCountInConnectionCreationMetric leaks sockets and threads
- Resolved
-
KAFKA-17207 ConnectWorkerIntegrationTest.testRequestTimeouts times out in stop(), leaking clients
- Open
-
KAFKA-16702 KafkaLog4jAppenderTest leaks producer instances
- Resolved
-
KAFKA-17202 EosIntegrationTest.verifyChangelogMaxRecordOffsetMatchesCheckpointedOffset leaks consumers
- Resolved
-
KAFKA-17203 StreamThread leaking producer instances
- Resolved
-
KAFKA-17204 KafkaStreamsCloseOptionsIntegrationTest.before leaks AdminClient
- Resolved
- links to