Skip to content

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Oct 13, 2025

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.

The all() method was removed from the org.apache.kafka.clients.admin.DescribeTopicsResult. Please use allTopicNames() 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.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-XXX] Remove deprecated API usages of DescribeTopicsResult [SPARK-53892][SS] Remove deprecated API usages of DescribeTopicsResult Oct 13, 2025
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-53892][SS] Remove deprecated API usages of DescribeTopicsResult [SPARK-53892][SS] Remove deprecated API usages of DescribeTopicsResult Oct 13, 2025
KAFKA-10774 Support Describe topic using topic IDs
KAFKA-18289 Remove deprecated methods of DescribeTopicsResult
@dongjoon-hyun dongjoon-hyun marked this pull request as ready for review October 13, 2025 21:43
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-53892][SS] Remove deprecated API usages of DescribeTopicsResult [SPARK-53892][SS] Use DescribeTopicsResult.allTopicNames instead of the deprecated all API Oct 13, 2025
@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon . Merged to master.

@dongjoon-hyun dongjoon-hyun deleted the DescribeTopicsResult branch October 14, 2025 00:55
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