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

[CELEBORN-1836][CIP-14] Add Message to cppClient #3066

Conversation

HolyLow
Copy link
Contributor

@HolyLow HolyLow commented Jan 15, 2025

What changes were proposed in this pull request?

This PR adds Message implementation to cppClient.

Why are the changes needed?

The Message is the data structure that transfers between network stack layers.
The decode/encode methods are supported and are compatible with existing java implementation.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Compilation and UTs.

@HolyLow
Copy link
Contributor Author

HolyLow commented Jan 15, 2025

@FMX @RexXiong Could you kindly review this PR? Thanks a lot.

Any suggestion is welcome.

}
}

std::atomic<long> Message::currRequestId_ = 1000;
Copy link
Contributor

Choose a reason for hiding this comment

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

why start from 1000?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a typo mistake when testing, refactored to start from 0.

Copy link
Contributor

@RexXiong RexXiong left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@RexXiong
Copy link
Contributor

Thanks merge to main(v0.6.0)

@RexXiong RexXiong closed this in 35a14d2 Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants