Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-14523: Decouple RemoteLogManager and Partition #19391

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

mimaison
Copy link
Member

@mimaison mimaison commented Apr 6, 2025

Remove the last dependency in the core module.

@github-actions github-actions bot added core Kafka Broker storage Pull requests that target the storage module tiered-storage Related to the Tiered Storage feature labels Apr 6, 2025
@mimaison
Copy link
Member Author

mimaison commented Apr 6, 2025

After that the last remaining piece of work before being able to move the kafka.log.remote classes to the storage module is to figure what to do with ServerConfigs. RemoteLogManager depends on it and it is in the server module and depends on LogConfig in the storage module so we can't just move it to server-common.

Copy link
Member

@FrankYang0529 FrankYang0529 left a comment

Choose a reason for hiding this comment

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

@mimaison Thanks for the PR. Leave a question for it.

/**
* Interface to decouple RemoteLogManager and Partition
*/
public interface TopicPartitionLog {
Copy link
Member

Choose a reason for hiding this comment

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

Will this interface be removed after we migrate all code out of core module?

Copy link
Member Author

Choose a reason for hiding this comment

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

To be honest I don't know at the moment. It depends where Partition ends up going but there's still a lot of work to do before we can move it, so I think we'll need this interface for a little while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Kafka Broker storage Pull requests that target the storage module tiered-storage Related to the Tiered Storage feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants