googleapis / googleapis/google-cloud-java

[sdk-platform-java] Implement `maxAttempts` inside the RetrySettings for GAPICs

Đang mở
#12,460 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p3 type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

RetrySettingsComposer doesn't have logic to create set the `maxAttempts` value: https://github.com/googleapis/sdk-platform-java/blob/087253a41e8c1e1328710c19505e1198fc755003/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java#L495-L588 even if it's set in the grpc_service.json file.

Searching through google-cloud-java shows that there aren't any occurrences of setMaxAttempts being generated in the StubSettings: https://github.com/search?q=repo%3Agoogleapis%2Fgoogle-cloud-java%20setMaxAttempts&type=code

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.