Skip to content

KAFKA-18289: Remove deprecated methods of DescribeTopicsResult#18255

Merged
chia7712 merged 2 commits intoapache:trunkfrom
Rancho-7:KAFKA-18289
Dec 23, 2024
Merged

KAFKA-18289: Remove deprecated methods of DescribeTopicsResult#18255
chia7712 merged 2 commits intoapache:trunkfrom
Rancho-7:KAFKA-18289

Conversation

@Rancho-7
Copy link
Collaborator

jira: https://issues.apache.org/jira/browse/KAFKA-18289

As title.

aaa

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@github-actions github-actions bot added triage PRs from the community clients small Small PRs labels Dec 18, 2024
@Rancho-7
Copy link
Collaborator Author

@chia7712 PTAL.

@chia7712 chia7712 merged commit 1a3dce7 into apache:trunk Dec 23, 2024
7 checks passed
chia7712 pushed a commit that referenced this pull request Dec 23, 2024
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
@github-actions github-actions bot removed the triage PRs from the community label Dec 25, 2024
tedyu pushed a commit to tedyu/kafka that referenced this pull request Jan 6, 2025
dongjoon-hyun added a commit to apache/spark that referenced this pull request Oct 14, 2025
… the deprecated `all` API

### What changes were proposed in this pull request?

This PR aims to use `DescribeTopicsResult.allTopicNames` API instead of the deprecated `all` API.

### Why are the changes needed?

`all` API was deprecated at Apache Kafka 3.1.0 and removed at 4.0.0.
- apache/kafka#9769
- apache/kafka#18255

> The <code>all()</code> method was removed from the <code>org.apache.kafka.clients.admin.DescribeTopicsResult</code>. Please use <code>allTopicNames()</code> instead.

### Does this PR introduce _any_ user-facing change?

No behavior change.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #52597 from dongjoon-hyun/DescribeTopicsResult.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
huangxiaopingRD pushed a commit to huangxiaopingRD/spark that referenced this pull request Nov 25, 2025
… the deprecated `all` API

### What changes were proposed in this pull request?

This PR aims to use `DescribeTopicsResult.allTopicNames` API instead of the deprecated `all` API.

### Why are the changes needed?

`all` API was deprecated at Apache Kafka 3.1.0 and removed at 4.0.0.
- apache/kafka#9769
- apache/kafka#18255

> The <code>all()</code> method was removed from the <code>org.apache.kafka.clients.admin.DescribeTopicsResult</code>. Please use <code>allTopicNames()</code> instead.

### Does this PR introduce _any_ user-facing change?

No behavior change.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#52597 from dongjoon-hyun/DescribeTopicsResult.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments