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

Apply specific Interceptor at Default Configuration.

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

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

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java, spring
領域
api, backend

調査の方向性

まず、issue に記載されている YAML インターセプター設定を再現し、@FeignClient の設定アプローチと比較します。インターセプターがグローバルに適用されるのか、意図したクライアントだけに適用されるのかを確認します。特定のクライアントに対するプロパティベースの設定の動作が明確になるか修正されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

waiting-for-triage

first of all. appreciate that your support.
I'm trying to apply an interceptor but, it comes to be global applying at the all of my Clients.
for example,

@Configuration
..
    @Bean
    public RequestInterceptor requestInterceptorA() {
        return new AuthRequestInterceptor();
    }
 
@Configuration
..
    @Bean
    public RequestInterceptor requestInterceptorB() {
        return new AuthRequestInterceptor2();
    }
 

there are 2 configuration for FeignClient and it works globally.

So, there's a guide to apply specific configuration for a client like this

@FeignClient( ... configuration = XXX.class) //the configuration class should be not @Configuration.

then, it works.

there's my wondering.

when I see your guide

Image

I can set Interceptors by properties like this on yaml.

It doesn't work and I don't know how to apply it.

there's someone who wondering like me for this issues, I can't find the answer.

So, Can you check and lemme know?

thanks.

主要言語
Java
スター
1.3k
フォーク
837
平均マージ
1日 1時間
マージ済み 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 を短くまとめたダイジェスト。