How do I set different timeout intervals for different interfaces in the same feignClient? · Issue #2799 · OpenFeign/feign · GitHub
Skip to content

How do I set different timeout intervals for different interfaces in the same feignClient? #2799

Open

Description

@chengyouling
No description provided.

Activity

  1. gromspys commented on Mar 6, 2025

    @gromspys
    Contributor

    You can try to add Options param:

    import feign.Request.Options;
    
    public interface Client {
        @GET
        @Path("/endpoint")
        String getData(Options options);
    }
    
  2. added
    questionGeneral usage or 'how-to' questions
    on Jun 4, 2026
  3. velo commented on Jun 4, 2026

    @velo
    Member

    Thanks for the report. This project is community-maintained, and the maintainer will not implement fixes or features directly. If you want this to move forward, please open a pull request with automated tests that cover the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral usage or 'how-to' questions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions