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

TopicPartitionWriter should read offsets from a path with Partitioner.generatePartitionedPath #224

Open
leafgray opened this issue Sep 1, 2017 · 1 comment

Comments

@leafgray
Copy link

leafgray commented Sep 1, 2017

refer to the code current PartitionWriter read offsets from a fixed topic path:
String path = FileUtils.topicDirectory(url, topicsDir, tp.topic());
the path comes to "url/topicsDir/topic"

if customed Partitioner.geratePartitionedPath do not return a path with that form, then the tp writer can not read the offset and will always start with offset 0...

Thanks.

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

No branches or pull requests

1 participant