Skip to content
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

[INLONG-1889] add Inlong-sort-standalone module structure #1913

Merged
merged 8 commits into from
Dec 7, 2021
Merged

[INLONG-1889] add Inlong-sort-standalone module structure #1913

merged 8 commits into from
Dec 7, 2021

Conversation

luchunliang
Copy link
Contributor

@luchunliang luchunliang commented Dec 6, 2021

Title Name: [INLONG-1889]Inlong-Sort-Standalone add Inlong-sort-standalone module structure.

for such sub-module:

  1. sort-standalone-common: protocol POJO.
  2. sort-standalone-dist: build product directory.
  3. sort-standalone-source: different consumer sources and different sort sinks.

Fixes #1889

Motivation

Explain here the context, and why you're making that change. What is the problem you're trying to solve.

Modifications

Describe the modifications you've done.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

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

(or)

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

(or)

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 followup issue for adding the documentation

@dockerzhang dockerzhang changed the title [Feature]Inlong-Sort-Standalone add Inlong-sort-standalone module str… [Feature] add Inlong-sort-standalone module structure Dec 6, 2021
@dockerzhang dockerzhang changed the title [Feature] add Inlong-sort-standalone module structure [INLONG-1889] add Inlong-sort-standalone module structure Dec 6, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 7, 2021

Codecov Report

Merging #1913 (3a0be1f) into master (1a905c6) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1913      +/-   ##
============================================
+ Coverage     12.26%   12.28%   +0.01%     
- Complexity     1155     1158       +3     
============================================
  Files           413      413              
  Lines         35225    35225              
  Branches       5542     5542              
============================================
+ Hits           4322     4326       +4     
+ Misses        30133    30132       -1     
+ Partials        770      767       -3     
Impacted Files Coverage Δ
...bemq/server/common/heartbeat/HeartbeatManager.java 36.36% <0.00%> (-2.03%) ⬇️
.../producer/qltystats/DefaultBrokerRcvQltyStats.java 45.70% <0.00%> (+1.56%) ⬆️
.../client/producer/qltystats/BrokerStatsItemSet.java 72.09% <0.00%> (+4.65%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a905c6...3a0be1f. Read the comment docs.

language governing permissions and limitations under the License. -->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Copy link
Member

Choose a reason for hiding this comment

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

Please use 4 spaces instead of Tab.

Copy link
Contributor Author

@luchunliang luchunliang Dec 7, 2021

Choose a reason for hiding this comment

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

ok, use 4 spaces instead of Tab.

* @param args
*/
public static void main(String[] args) {
// LOG.info("start to sort-standalone");
Copy link
Member

Choose a reason for hiding this comment

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

Please remove those unused codes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, remove those unused codes.

use 4 spaces instead of Tab.
Copy link
Member

@healchow healchow left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@gosonzhang gosonzhang left a comment

Choose a reason for hiding this comment

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

+1

@gosonzhang gosonzhang merged commit 92a9fca into apache:master Dec 7, 2021
@gosonzhang gosonzhang added this to the 0.12.0 milestone Dec 7, 2021
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.

[Feature]Inlong-Sort-Standalone add Inlong-sort-standalone module structure.
5 participants