Skip to content

KAFKA-18970: Enable client module metadata publication - #22948

Open
lh0156 wants to merge 1 commit into
apache:trunkfrom
lh0156:agent/KAFKA-18970-enable-client-module-metadata
Open

KAFKA-18970: Enable client module metadata publication#22948
lh0156 wants to merge 1 commit into
apache:trunkfrom
lh0156:agent/KAFKA-18970-enable-client-module-metadata

Conversation

@lh0156

@lh0156 lh0156 commented Jul 26, 2026

Copy link
Copy Markdown

Summary

  • Enable Gradle module metadata generation for the kafka-clients publication.

Motivation

KAFKA-18970 tracks the disabled Gradle Module Metadata publication for the clients submodule. The clients publication should provide its .module metadata so Gradle consumers can resolve its published variants and capabilities.

Validation

  • ./gradlew :clients:generateMetadataFileForMavenJavaPublication --no-build-cache --console=plain
  • Verified clients/build/publications/mavenJava/module.json contains the org.apache.kafka:kafka-clients component and published variants.
  • ./gradlew --no-daemon :clients:generateMetadataFileForMavenJavaPublication :clients:check --exclude-task test --no-build-cache --console=plain
  • git diff --check

The full :clients:check test task was also started. It reached the existing KafkaProducerTest.testTopicExpiryInMetadata test, which remained in KafkaProducer.waitOnMetadata for over an hour without completing; the run was interrupted after confirming the wait was unrelated to this one-line build configuration change.

@github-actions github-actions Bot added triage PRs from the community build Gradle build or GitHub Actions small Small PRs labels Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant