-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Enhancement]: Adding fetch from tiered storage system test #10302
Comments
@showuon hey, current implementation of consumer uses Regarding 3. - is it something we should test or it's more likely plugin functionality? |
Correct! That way, we can verify the path of fetching from remote storage works well. |
We should test it. There are 2 parts of logic here: So, yes, you are right, it's partially the plugin's functionality. But there is also part of Kafka's logic involved. Like we tested the log uploading to remote storage part, we want to verify the kafka side logic works well, and "assume" the Aiven's plugin works as expected. Does that make sense? |
Discussed on the community call on 10.7.2024: This should be addressed. @Frawless will take a look. |
Related problem
No response
Suggested solution
In #10149, we added system test for tiered storage. But the test case
testTieredStorageWithAivenPlugin
only test the "upload" path, which is the local data can successfully upload log segments to the remote storage. We didn't have test for the "download" path, which is the consumer fetch data from remote storage.I think we should add some more verification like:
It should be quick
2. Create a consumer to fetch from the beginning offset, it should read from the remote storage and get the expected record.
3. I'm not sure if we want to test the delete remote log path. If so, we can create a tiered storage enabled topic with short "retention.ms" or "retention.bytes", then verify it will delete the remote logs after expiration or size breached.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: