Skip to content

Conversation

@BillFarber
Copy link
Contributor

Since the kafka-junit library is no longer maintained and is incompatible with the version of Kafka that we are on, we are removing the library.
We'll switch to something else in the future.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the kafka-junit library and its associated integration tests due to incompatibility with the current Kafka version. The kafka-junit library is no longer maintained and cannot work with Kafka versions beyond 3.6.0, necessitating its removal until a suitable replacement testing framework is identified.

Key changes:

  • Removed 4 integration test classes that depended on kafka-junit
  • Cleaned up utility methods in the abstract test base class that were only used by the removed tests

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ReadRowsViaOpticDslKafkaTest.java Removed entire integration test for reading rows via Optic DSL with embedded Kafka
WriteTransformDocumentTest.java Removed entire integration test for document transformation with embedded Kafka
WriteFromKafkaTest.java Removed entire integration test for basic Kafka-to-MarkLogic writing
SendWriteFailureRecordsToDlqKafkaTest.java Removed entire integration test for dead letter queue functionality
AbstractIntegrationSinkTest.java Removed retry utility methods that were only used by the kafka-junit tests

@BillFarber BillFarber changed the title Removed kafka-junit and related tests. MLE-23399 - Removed kafka-junit and related tests. Aug 6, 2025
@BillFarber BillFarber merged commit 417402d into marklogic:develop Aug 6, 2025
2 of 3 checks passed
@BillFarber BillFarber deleted the task/removeKafkaJunit branch August 6, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants