ふだんプレミアム
先日、家電量販店に行った際にふと、ある広告が目に留まりました。 「ふだんプレミアム」 お金をたくさんかけて旅行に行ったり、記念日にディナーに行ったりするプレミアムも当たり前の様に感じますが、 「なんでもない、ふだんの中にこそ宝物がある。」 ふだんを、もっと特別に、もっとていねいに積み重ねていけたら、それはとってもプレミアムだと思いませんか? だそうです。 私にとってのふだんプレミアムは海です!...
View Article年末のご挨拶~
こんにちは。 注文住宅プロデューサーのゆりです。 今年も残す所、あと僅かになりました。 皆様にとって、2015年はどの様な一年でしたでしょうか。 私は今年、念願の結婚式を予定しておりましたが、諸事情により叶いませんでした、、 来年こそは!とまた来年の目標にしましたが、私の周りはというと、親友の第一子の出産があったり、続々と友人が結婚したりと、幸せな出来事が多かった様な気がします。...
View ArticleZEHビルダーに登録されました!
H28年度「ネット・ゼロ・エネルギー・ハウス支援事業(ZEH)」について 第1回ZEHビルダーに登録されました! これはゼロエネルギー住宅に125万円の補助金が出るものなんですが、 申請ができるのはZEH(ゼロエネルギー住宅)を建てられる会社だけです。 東京都や葛飾区の会社で登録されている会社もまだ少ないと思います。...
View ArticleHow to replace @ParameterizedTest with RetryingTest?
I have a test:@ParameterizedTest@MethodSource("getTestData")fun fooTest( arg1: Int, arg2: Int, arg3: String,) { ...It communicates with quite unstable test container (I can't make it more stable).So...
View ArticleTesting Resilience4j retry logic
I'm trying to test my retry logic, using Resilience4j, and I have the following.In my test I'm having triggerFunc, throw an exception twice and then successfully execute on the 3rd attempt. @Test void...
View ArticlePolly handles a few exceptions like expected first but then...
The program below behaves as expected for three retries but then crashes:$ ./PollyTest/bin/Debug/net8.0/PollyTest.exeHello, World!retry number 0retry number 1retry number 2Unhandled exception....
View ArticleHow can I return 408 Request timeout to Polly so that it can apply retry policy?
I have the following client appservices .AddHttpClient<IOrderService, OrderService>(c => { c.BaseAddress = new Uri(Configuration["ApiSettings:xxx"]); })...
View ArticleSync Polly with timeout
This code runs to the end, no TimeoutRejectedException.If I change the strategy to TimeoutStrategy.Pessimistic, it will enter the executed logic twice, before throwing the TimeoutRejectedException.What...
View ArticlePolly final action after max retry
The C# project that I'm working on uses Polly (v8.3) for resiliency. The code looks very much similar to the sample found in the Github documentation :ResiliencePipeline pipeline = new...
View ArticleHow can I queue HttpClient requests until a Polly retry policy is successful?
I'm using polly to refresh an authorisation token if a http request returns a 401 error. My full solution is based off: Refresh Token using Polly with Named Client, but the relevant parts are:Retry...
View ArticleHow do I use com.microsoft.graph.httpcore.middlewareoption.IShouldRetry with...
I am using Java with Microsoft's GraphServiceClient. What I am trying to do is to first create a B2C User and save that User on Azure B2C. Once that User is successfully saved, I get a response back...
View ArticlePolly v8 - Retrying specific status codes using the PredicateBuilder
I am using Polly v8 and .NET framework 4.7.2 to retry on specific status responses only. However, when trying to restrict the retry to only these statuses the code will no longer invoke the retry...
View ArticlePolly Retry All Exceptions Except Specific Condition
Is there a way in Polly to retry all exceptions apart from those which are specified.. for example:var p = Policy .Handle<HttpListenerException>(e => !(e.NativeErrorCode == 1))...
View ArticlePolly Try and Retry wrapper function with generic
I have a wrapper function, which takes in function making a database call returning IEnumerable<T>.This type T can be any of my specific class that stores returned integer from the database.I...
View ArticleNest retries when using multiple nodes behind load balancer
In the docs of Nest v7, we can find:By default, NEST will retry a request as many times as there are nodes in the cluster, that the client knows aboutI'm instantiating the ElasticClient as follows:var...
View ArticleGRPC Node client retry interceptor
I'm have implemented node grpc client retry using interceptor but it is only retrying once and not upto maxRetries which is specified. Also, the error is not propagating to the caller. Can you please...
View ArticleHow can i invoke X-HttpMessageHandlers when retrying requests?
In short: I want to execute X-HttpMessageHandlers when retrying a request.Implementation: Currently, I have added an HttpClient, whose request gets handled by a Logging- and a PolicyHandler:using...
View ArticlePolly Timeout policy wrapped in WaitAndRetry policy does not work
I have a service which writes files over some network using FileStream, without a write timeout. I added a Polly WaitAndRetry policy to handle occasional write failures, and that works great. I noticed...
View ArticleHow to migrate a standard CircruitBreaker policy from Polly V7 to V8?
Up until now, I used Polly's standard CircuitBreaker policy like this:int retryCount = 2;PolicyBuilder policyBuilder = Policy .HandleInner<WebException>() .Or<WebException>()...
View ArticleDoes Polly Retry on errors like "connection was terminated abnormally" or "A...
I am using HTTPClient with WinHttpHanlder (for http/2) and my Polly retry policy looks something like thisvar waitAndRetry = Policy.HandleResult<HttpResponseMessage>(r =>...
View Article