Skip to content

Saksham verma08/catchup read solution #2496

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

Conversation

sakshamVerma08
Copy link

Linked Issue) #2373

📄 Summary
This PR introduces a new feature to the automq-perf-test.sh script, allowing users to reuse existing topics for catch-up read (cold read) performance testing. By specifying a topic prefix, the script can identify and utilize pre-existing topics, thereby eliminating the need to create new ones and wait for message accumulation. This enhancement significantly reduces the time required to set up and execute catch-up read tests.

🛠️ Implementation Details
New Parameter: Added --catchup-topic-prefix to specify the prefix of existing topics to be reused.

Topic Discovery: The script lists existing topics matching the provided prefix and reuses them for testing.

Skip Accumulation Phase: When existing topics are reused, the script bypasses the message accumulation phase, expediting the testing process.

Code Modifications: Updated the PerfCommand class to handle the new parameter and implement the logic for reusing topics.

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

Successfully merging this pull request may close these issues.

1 participant