250 questions
1
vote
0
answers
43
views
How to save data which are dependent in different microservices using springboot
I have two microservices(for now) Movie, Show
MovieEntity.java
@Entity
@Table(name = "MOVIES")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ...
0
votes
1
answer
89
views
Running out of ports when using Spring Boot Open Feign during performance test
I am encountering an issue in my project related to performance measurement using JMeter, where I need to use OpenFeign. When I start my benchmark after some time (around 15 seconds), I receive an ...
0
votes
0
answers
101
views
Is it possible to add custom label to feign-micrometer?
I have many interfaces with @FeignClient annotations, and I provide name, url and config class parameters inside annotation.
I got this libraries in my project:
implementation("io.github....
1
vote
0
answers
39
views
Spring cloud OpenFeign Integrate Consul1.20.1 cannot be called normally: ensure the path starts with '/v1/'
I wrote a simple demo case, mainly used to test the integration of spring cloud and consul. However, when using openfeign, the following error occurred when calling consul-server through consul-client....
0
votes
0
answers
20
views
openfeign fallbackFactory for springcloud version 2023.0.3 cannot be downgraded
I configured a openFeign FallbackFactory for a romote invoke,but it doesn't work when remote service is exception and return 500; Does anyone have the problem?
response:
{
"timestamp": &...
0
votes
1
answer
205
views
How to create a custom decoder for a Spring Cloud OpenFeign Client
I have a FeignClient which needs to call an endpoint, which returns the data wrapped in a PageView object. I don't want to bother any service with this object, so I am looking for a way to get it done ...
0
votes
0
answers
61
views
MDC Context Propagation in FeignClient
I have been trying to propogate the MDC details will calling an API using FeignClient. In an async way. Here is my FeignClient Details. Im not sure what am i missing.
@Configuration
public class ...
0
votes
0
answers
17
views
For @EnableFeignClients annotation, I'm getting an error stating Invalid bean definition
I've tried connecting the services multiple times but I'm unable to figure out this error
My Eureka server is live
I'm trying to connect the product service with the order service
This is my Main ...
-1
votes
1
answer
169
views
How to send multiple files with open feign client without spring?
I would like to send arbitrary number of images during multipart/form-data request.
I've found this example in guide:
https://github.com/OpenFeign/feign-form?tab=readme-ov-file#multipartform-data
// ...
-1
votes
1
answer
96
views
How to specify a requestInterceptor with Spring Boot Feign
We need to add a correlation token header (taking value from MDC context) to every outgoing Feign call.
This page describes using interceptors, which sounds like what we need. The problem is that the ...
0
votes
1
answer
110
views
IBM mainframe in IBM-37 chartset encoding format to UTF-8 to be understood in springboot app
Hi how are you? I am trying to convert a xml raw
message with comes from IBM mainframe in IBM-37 chartset encoding format to UTF-8 to be understood in springboot app.
Any idea how to do that? I am ...
1
vote
0
answers
132
views
How to Use Feign Client Https Request Instead Of Http
I started using https instead of http in my microservice architecture application. When a request is made with Feign Client, it uses http instead of https.
I created the following class which ...
1
vote
2
answers
313
views
Cannot autowire open feign client
I have the following open feign client:
package com.example.feignclientch11.clients;
import com.example.feignclientch11.entities.Payment;
import org.springframework.cloud.openfeign.FeignClient;
...
0
votes
1
answer
60
views
Spring Cloud Open Feign Client send only first key-value using POST form-url-encoded
Have some request
@FeignClient(
name = "FeignServer",
url = "url",
configuration = FeignProxyConfiguration.class)
public interface ServerFeign {
@...
3
votes
0
answers
520
views
Is it possible to make a Feign client to return an Optional<?> if the result could be null (dismiss404 = true)
I am using this Feign client
@FeignClient(name = "acme-service", url = "http://the-url", path = "/acme/", dismiss404 = true)
public interface AcmeServiceClient {
@...