Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support circuit breaker configuration per Feign client

オープン
#487 コメント 3 件 リアクション 3 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@OlgaMaciaszek がすでに取り組んでいます。

2021年2月25日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

Is your feature request related to a problem? Please describe.
Currently, there seems to be no way to configure different circuit breakers for different Feign clients without listing all their methods.
I can either customize the default configuration, but then this configuration will be applied to all Feign clients. On the other hand, if I want to customize a specific configuration, I must do so for all its methods, as the circuit breaker name is <feignClientName>-<methodName>.

Describe the solution you'd like
A simple solution would be to also check for a circuit breaker called feignClientName if no more specific one is found.

An ideal solution would be similar to the other Feign configuration, i.e. I can specify a Customizer Bean in the Feign configuration, like ErrorDecoder or Retryer. This customizer would then be applied to just this Feign client.

Describe alternatives you've considered
As I said, the current alternatives would be to list all methods in a client, which is quite error-prone.

主要言語
Java
スター
1.3k
フォーク
835
平均マージ
23時間 57分
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

spring-cloud/spring-cloud-openfeign のほかの issue

spring-cloud/spring-cloud-openfeign の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。