[INLONG-4178][Manager] Refactor getSortSource API for Sort Standalone#4917
Merged
dockerzhang merged 6 commits intoapache:masterfrom Jul 11, 2022
Merged
[INLONG-4178][Manager] Refactor getSortSource API for Sort Standalone#4917dockerzhang merged 6 commits intoapache:masterfrom
dockerzhang merged 6 commits intoapache:masterfrom
Conversation
healchow
reviewed
Jul 9, 2022
...rc/main/java/org/apache/inlong/manager/common/pojo/sortstandalone/SortSourceClusterInfo.java
Outdated
Show resolved
Hide resolved
healchow
reviewed
Jul 9, 2022
.../src/main/java/org/apache/inlong/manager/common/pojo/sortstandalone/SortSourceGroupInfo.java
Outdated
Show resolved
Hide resolved
healchow
reviewed
Jul 9, 2022
inlong-manager/manager-dao/src/main/resources/mappers/InlongClusterEntityMapper.xml
Outdated
Show resolved
Hide resolved
healchow
reviewed
Jul 9, 2022
inlong-manager/manager-dao/src/main/resources/mappers/InlongClusterEntityMapper.xml
Outdated
Show resolved
Hide resolved
healchow
reviewed
Jul 9, 2022
inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml
Outdated
Show resolved
Hide resolved
healchow
requested changes
Jul 9, 2022
inlong-manager/manager-dao/src/main/resources/mappers/StreamSinkEntityMapper.xml
Outdated
Show resolved
Hide resolved
...ervice/src/main/java/org/apache/inlong/manager/service/core/impl/SortClusterServiceImpl.java
Show resolved
Hide resolved
healchow
reviewed
Jul 11, 2022
...rc/main/java/org/apache/inlong/manager/common/pojo/sortstandalone/SortSourceClusterInfo.java
Outdated
Show resolved
Hide resolved
healchow
approved these changes
Jul 11, 2022
dockerzhang
approved these changes
Jul 11, 2022
woofyzhao
approved these changes
Jul 11, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepare a Pull Request
(Change the title refer to the following example)
Motivation
In order to support new db model and reduce the number of query to database, the interface of sort sdk config management should be refactored.
One cluster can register multiple tasks, each task represents one flow from mq to downstream sink, and each task can register multiple InlongGroupId.
Modifications
Use local cache to maintain SortSourceConfigResponse of all tasks.
Reload all configs each 10 seconds.
Main step:
Verifying this change
(Please pick either of the following options)
This change added tests and can be verified as follows:
Documentation