Skip to content

[improve][cli] Add client side looping in "pulsar-admin topics analyze-backlog" cli to avoid potential HTTP call timeout#21

Closed
oneby-wang wants to merge 22 commits intomasterfrom
pulsar_cli_client_side_analyze_backlog
Closed

[improve][cli] Add client side looping in "pulsar-admin topics analyze-backlog" cli to avoid potential HTTP call timeout#21
oneby-wang wants to merge 22 commits intomasterfrom
pulsar_cli_client_side_analyze_backlog

Conversation

@oneby-wang
Copy link
Copy Markdown
Owner

@oneby-wang oneby-wang commented Jan 4, 2026

Fixes apache#25083

Motivation

Use client-side looping instead of increasing broker settings to avoid potential HTTP call timeout in "pulsar-admin topics analyze-backlog" cli.

Modifications

Add client-side looping, add test.

Verifying this change

  • Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@oneby-wang oneby-wang changed the title [improve][cli] Add client side looping in "pulsar-admin topics analyze-backlog" cli to avoid potential HTTP call timeout. [improve][cli] Add client side looping in "pulsar-admin topics analyze-backlog" cli to avoid potential HTTP call timeout Jan 5, 2026
@oneby-wang oneby-wang force-pushed the pulsar_cli_client_side_analyze_backlog branch from ff598e2 to 7f0172b Compare January 6, 2026 02:10
@oneby-wang oneby-wang force-pushed the pulsar_cli_client_side_analyze_backlog branch from b48e0eb to 83bdbf1 Compare February 6, 2026 11:56
@oneby-wang oneby-wang force-pushed the pulsar_cli_client_side_analyze_backlog branch 3 times, most recently from 425e8bf to 941b50c Compare February 25, 2026 14:05
@oneby-wang oneby-wang force-pushed the pulsar_cli_client_side_analyze_backlog branch from 717742a to 91001d3 Compare March 28, 2026 03:58
@oneby-wang oneby-wang force-pushed the pulsar_cli_client_side_analyze_backlog branch from 91001d3 to 2456a05 Compare April 4, 2026 12:00
@oneby-wang oneby-wang closed this Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant