Tag

OpenFeign

0 views collected around this technical thread.

macrozheng
macrozheng
Dec 3, 2024 · Backend Development

Simplify Feign Calls in Local Development with Custom URL Routing

This article explains how to streamline OpenFeign usage during local development by configuring custom URL routing, detailing the underlying Feign mechanism, creating a custom ImportBeanDefinitionRegistrar, and providing step‑by‑step code examples, testing procedures, and best‑practice recommendations.

Custom Bean RegistrationLoad BalancingLocal Development
0 likes · 15 min read
Simplify Feign Calls in Local Development with Custom URL Routing
Code Ape Tech Column
Code Ape Tech Column
Nov 24, 2024 · Backend Development

Simplifying OpenFeign Calls in Local Development via Custom Bean Registration

This article explains how to streamline OpenFeign usage during local development by creating a custom ImportBeanDefinitionRegistrar that registers Feign clients with configurable URLs, avoiding manual URL changes in annotations and ensuring seamless switching between local and production environments.

JavaLoad BalancingOpenFeign
0 likes · 15 min read
Simplifying OpenFeign Calls in Local Development via Custom Bean Registration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 7, 2024 · Backend Development

Master OpenFeign & Resilience4j: Build Resilient Spring Boot Microservices

This guide demonstrates how to integrate OpenFeign with Resilience4j in Spring Boot, covering dependency setup, Feign client definition, fallback implementation, circuit breaker configuration, custom timeout settings, and generating circuit names, enabling robust, fault‑tolerant microservice communication.

JavaOpenFeignResilience4j
0 likes · 10 min read
Master OpenFeign & Resilience4j: Build Resilient Spring Boot Microservices
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 20, 2024 · Backend Development

Master Spring Cloud OpenFeign: Complete Guide with Code Samples

This article provides a comprehensive introduction to Spring Cloud OpenFeign, comparing it with Feign and HttpExchange, and walks through practical setup, client declaration, custom configuration, interceptors, error handling, timeout and logging settings with full code examples for Spring Boot 3.2.5.

FeignClientJavaOpenFeign
0 likes · 11 min read
Master Spring Cloud OpenFeign: Complete Guide with Code Samples
Top Architect
Top Architect
Jul 18, 2024 · Backend Development

Implementing Gray Release in Spring Cloud with Nacos, Gateway, and Custom Load Balancer

This article provides a step‑by‑step guide to implementing gray (canary) release in a Spring Cloud microservice architecture, covering core components such as Nacos registration, Spring Cloud Gateway filters, custom Ribbon load‑balancing, OpenFeign interceptors, and configuration details with full code examples.

NacosOpenFeignSpring Cloud
0 likes · 21 min read
Implementing Gray Release in Spring Cloud with Nacos, Gateway, and Custom Load Balancer
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 23, 2024 · Backend Development

How to Use OpenFeign 4.1.2: Parameter Constraints & Custom Status Codes

This article explains the two new features introduced in Spring Cloud OpenFeign 4.1.2—request parameter constraints and custom status codes—by providing step‑by‑step examples, code snippets, and configuration details to demonstrate how to enable and use these capabilities in a SpringBoot 3.3.1 microservice environment.

JavaOpenFeignSpring Cloud
0 likes · 6 min read
How to Use OpenFeign 4.1.2: Parameter Constraints & Custom Status Codes
Wukong Talks Architecture
Wukong Talks Architecture
Jun 16, 2024 · Backend Development

OpenFeign in Spring Cloud: Design Principles, Core Workflow, and Implementation Guide

This article explains the concept of remote calls, compares Feign and OpenFeign, walks through the step‑by‑step setup in a Spring Cloud project, and deeply analyzes the scanning, registration, dynamic proxy creation, MVC annotation parsing, request dispatch, Ribbon load‑balancing, and response handling mechanisms of OpenFeign.

JavaLoad BalancingOpenFeign
0 likes · 15 min read
OpenFeign in Spring Cloud: Design Principles, Core Workflow, and Implementation Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 25, 2024 · Backend Development

Unlock Advanced OpenFeign Features in Spring Cloud: Metrics, Caching, and More

This tutorial walks through configuring Spring Cloud OpenFeign with Spring Boot, covering basic setup, advanced capabilities like Micrometer metrics, Redis caching, @SpringQueryMap, @MatrixVariable, and @CollectionFormat, and shows how to view metrics via Prometheus or Actuator.

MetricsOpenFeignSpring Boot
0 likes · 8 min read
Unlock Advanced OpenFeign Features in Spring Cloud: Metrics, Caching, and More
Java Captain
Java Captain
Jan 31, 2024 · Backend Development

Replacing OpenFeign with Apache HttpClient, OkHttp, and RestTemplate in Spring Applications

This article explains why and how to replace OpenFeign with native Spring HttpInterface alternatives such as Apache HttpClient, OkHttp, and RestTemplate, covering security motivations, configuration details, code examples, and practical recommendations for microservice remote calls.

HttpClientJavaOkHttp
0 likes · 12 min read
Replacing OpenFeign with Apache HttpClient, OkHttp, and RestTemplate in Spring Applications
macrozheng
macrozheng
Jan 26, 2024 · Backend Development

Implement Full‑Link Gray Release with Spring Cloud Gateway, Ribbon, and OpenFeign

This article explains how to achieve full‑link gray (canary) release in a microservice architecture by adding a gray tag in a Spring Cloud Gateway global filter, propagating it through request headers, customizing Ribbon load‑balancing rules to select gray instances from Nacos, and using an OpenFeign interceptor to transmit the tag downstream, ensuring seamless A/B testing and stable deployments.

NacosOpenFeignSpring Cloud Gateway
0 likes · 14 min read
Implement Full‑Link Gray Release with Spring Cloud Gateway, Ribbon, and OpenFeign
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 30, 2023 · Backend Development

Mastering Spring Cloud OpenFeign: Configuration, Customization, and Best Practices

This guide walks through Spring Cloud OpenFeign's core concepts, enabling steps, custom configurations, timeout handling, logging, retry mechanisms, interceptors, fallback strategies, caching, inheritance, compression, and reactive alternatives, providing developers with a comprehensive reference for building robust microservice clients.

Feign ClientJavaOpenFeign
0 likes · 12 min read
Mastering Spring Cloud OpenFeign: Configuration, Customization, and Best Practices
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 13, 2023 · Backend Development

Mastering Spring Cloud OpenFeign: Common Pitfalls and Advanced Configurations

This guide explains how to set up Spring Cloud OpenFeign, demonstrates key code examples, and uncovers five often‑overlooked issues—including timeout defaults, retry behavior, fallback strategies, the primary attribute, and dynamic timeout refresh—while providing practical configuration solutions.

FeignClientJavaOpenFeign
0 likes · 8 min read
Mastering Spring Cloud OpenFeign: Common Pitfalls and Advanced Configurations
Top Architect
Top Architect
Sep 13, 2023 · Backend Development

Comprehensive Guide to Using OpenFeign for Remote Calls in Spring Cloud

This article provides a detailed overview of OpenFeign, explaining its purpose, differences from Feign, usage steps for regular remote calls and microservice integration, configuration of timeouts, logging, headers, custom clients, inheritance, caching, and OAuth2 support, with code examples throughout.

HTTP ClientJavaOpenFeign
0 likes · 19 min read
Comprehensive Guide to Using OpenFeign for Remote Calls in Spring Cloud
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 13, 2023 · Backend Development

How Spring Cloud OpenFeign Implements Load Balancing and Client Bean Creation

This article explains how Spring Cloud OpenFeign discovers @FeignClient interfaces, registers them as beans, configures FeignClientFactoryBean, selects the appropriate HTTP client implementation, and integrates load‑balancing through FeignBlockingLoadBalancerClient and related classes.

Feign ClientJavaLoad Balancing
0 likes · 11 min read
How Spring Cloud OpenFeign Implements Load Balancing and Client Bean Creation
Code Ape Tech Column
Code Ape Tech Column
Jun 10, 2023 · Backend Development

Simplifying Local Development with OpenFeign: Custom URL Routing via ImportBeanDefinitionRegistrar

This article explains how to simplify OpenFeign calls during local development by configuring FeignClient URLs through a custom ImportBeanDefinitionRegistrar, avoiding manual code changes for production, and provides step‑by‑step implementation, configuration, and testing guidance for Spring Cloud microservices.

FeignClientImportBeanDefinitionRegistrarJava
0 likes · 13 min read
Simplifying Local Development with OpenFeign: Custom URL Routing via ImportBeanDefinitionRegistrar
Code Ape Tech Column
Code Ape Tech Column
May 18, 2023 · Backend Development

Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign

This article explains the origins, usage, and internal dynamic‑proxy workflow of Spring Cloud OpenFeign, illustrating how FeignClient interfaces are scanned, annotated, and transformed into remote service calls through generated proxy classes, with code examples and diagrams.

Dynamic ProxyFeignClientJava
0 likes · 10 min read
Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign
Code Ape Tech Column
Code Ape Tech Column
Feb 24, 2023 · Backend Development

Comprehensive Guide to Using OpenFeign in Spring Cloud: Configuration, Parameter Passing, Timeout, Logging, and Advanced Features

This article provides a detailed tutorial on OpenFeign, covering its purpose, differences from Feign, environment setup, service provider and consumer creation, various parameter passing methods, timeout handling, logging configuration, HTTP client replacement, GZIP compression, and Sentinel-based circuit breaking, while also including practical code examples and configuration snippets.

OpenFeignSpring CloudTimeout
0 likes · 17 min read
Comprehensive Guide to Using OpenFeign in Spring Cloud: Configuration, Parameter Passing, Timeout, Logging, and Advanced Features
macrozheng
macrozheng
Dec 22, 2022 · Backend Development

Implement Full-Chain Gray Release Using Spring Cloud Gateway, Ribbon & OpenFeign

This article explains how to achieve full‑link gray release in a microservice architecture by marking traffic at the gateway, propagating the gray tag via request headers, customizing Ribbon load‑balancing rules, and using OpenFeign interceptors to ensure gray‑tag transmission to downstream services.

NacosOpenFeignSpring Cloud
0 likes · 15 min read
Implement Full-Chain Gray Release Using Spring Cloud Gateway, Ribbon & OpenFeign