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

RATIS-1071. NettyClientRpc supports sendRequestAsync #204

Closed
wants to merge 2 commits into from

Conversation

amaliujia
Copy link
Contributor

What changes were proposed in this pull request?

Expose sendRequestAsync API in NettyClientRpc.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-1071

How was this patch tested?

UT

@amaliujia
Copy link
Contributor Author

@szetszwo any feedback on this change?

@amaliujia
Copy link
Contributor Author

@szetszwo fridenly ping~

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. Just have some comments on the test.

@@ -67,7 +67,11 @@
<scope>test</scope>
<type>test-jar</type>
</dependency>

<dependency>
<groupId>junit</groupId>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move the test to ratis-test.

import org.junit.Assert;
import org.junit.Test;

public class TestNettyClientRpcAsync extends BaseTest implements MiniRaftClusterWithNetty.FactoryGet {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a test extending RaftAsyncTests; see TestRaftAsyncWithGrpc. Then, this test can be removed.

@szetszwo
Copy link
Contributor

szetszwo commented Jul 13, 2024

@amaliujia , thanks a lot for your initial work! I will continue this pull request in #1122 .

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