Skip to content

Fix documentation for client-thrift and client-retry #6195

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

pppurple
Copy link
Contributor

@pppurple pppurple commented Apr 8, 2025

Motivation:

I found an incorrect class name and the use of deprecated functions in the document.
Therefore I fixed it to use the recommended function instead.

Modifications:

  • Change ThriftClient to ThriftClients
  • Use RetryConfig instead of deprecated functions.

Result:

  • The corrected document will be displayed.

@CLAassistant
Copy link

CLAassistant commented Apr 8, 2025

CLA assistant check
All committers have signed the CLA.

@@ -221,7 +221,10 @@ the maximum number of total attempts to 10 by default. You can change this value
`maxTotalAttempts` when you build a <type://RetryingClient>:

```java
RetryingClient.newDecorator(rule, maxTotalAttempts);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -246,8 +249,11 @@ Second, it occurs when the time of individual attempt in retry has passed the ti
You can configure it when you create the decorator:

```java
RetryingClient.newDecorator(rule, maxTotalAttempts,
responseTimeoutMillisForEachAttempt);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@ikhoon ikhoon left a comment

Choose a reason for hiding this comment

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

Thanks, @pppurple!

@ikhoon ikhoon added the cleanup label Apr 8, 2025
@ikhoon ikhoon added this to the 1.33.0 milestone Apr 8, 2025
Copy link
Member

@trustin trustin left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the fixes, @pppurple! 🙏

Copy link
Contributor

@minwoox minwoox left a comment

Choose a reason for hiding this comment

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

Thanks!

@trustin trustin merged commit 4c2c257 into line:main Apr 9, 2025
14 checks passed
@trustin trustin changed the title fix documents for client-thrift and client-entry Fix documentation for client-thrift and client-retry Apr 9, 2025
@pppurple pppurple deleted the fix-documents branch April 9, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants