Skip to content

[Good First Issue] Add Support for Specifying Topic Prefix for Catch-up Reading in Performance Test #2373

Open
@Chillax-0v0

Description

@Chillax-0v0

Background

AutoMQ provides the automq-perf-test.sh script to test performance under different scenarios. Currently, it supports testing "catch-up read" (cold read) scenarios by:

  1. Sending a batch of messages.
  2. Delaying consumption until messages have accumulated for a specified period.
  3. Observing consumption throughput and its impact on producers.

But currently, each test requires spending significant time to accumulate messages, which slows down the test.

Goal

Save testing time by allowing users to pre-specify topics or topic groups (via a prefix) for catch-up read testing.

Required Changes

  1. Add a parameter (e.g., --catchup-topic-prefix) to specify a topic prefix for catch-up read testing.
  2. If the prefix is provided, reuse existing topics matching the prefix instead of creating new ones.
  3. Ensure the script skips the message accumulation phase when using existing topics.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions