Skip to content

[INLONG-9936][Manager] Support for parallel acquisition of data preview data from multiple Pulsar clusters#9937

Merged
dockerzhang merged 5 commits into
apache:masterfrom
luchunliang:INLONG-9936
Apr 8, 2024
Merged

[INLONG-9936][Manager] Support for parallel acquisition of data preview data from multiple Pulsar clusters#9937
dockerzhang merged 5 commits into
apache:masterfrom
luchunliang:INLONG-9936

Conversation

@luchunliang
Copy link
Copy Markdown
Contributor

Prepare a Pull Request

Motivation

When clusterTag have multiple Pulsar clusters and the amount of data is little, reading the data preview data from only one Pulsar cluster may result in no data being found. If polling all Pulsar clusters, it may cause query timeouts. In this case, it is necessary to query all Pulsar clusters in parallel to avoid timeout exceptions.

Modifications

Describe the modifications you've done.

Verifying this change

(Please pick either of the following options)

  • This change is a trivial rework/code cleanup without any test coverage.

  • This change is already covered by existing tests, such as:
    (please describe tests)

  • This change added tests and can be verified as follows:

    (example:)

    • Added integration tests for end-to-end deployment with large payloads (10MB)
    • Extended integration test for recovery after broker failure

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

@aloyszhang
Copy link
Copy Markdown
Contributor

The messages from all clusters are mixed, is it ok?

@luchunliang
Copy link
Copy Markdown
Contributor Author

luchunliang commented Apr 8, 2024

The messages from all clusters are mixed, is it ok?

It is ok, the messages come from a InLong stream of a cluster tag, they have same protocol.

aloyszhang
aloyszhang previously approved these changes Apr 8, 2024
Copy link
Copy Markdown
Contributor

@vernedeng vernedeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dockerzhang dockerzhang merged commit 84bd8b2 into apache:master Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improve][Manager] Support for parallel acquisition of data preview data from multiple Pulsar clusters

5 participants