2020欧洲杯时间表

Dark mode beta

You’ve been asking for dark mode for years.
The is finally here.

Change your preferences any time.

Questions tagged [spring-cloud]

2020欧洲杯时间表 Spring Cloud provides tools to quickly build common patterns in distributed systems (e.g. configuration management, service discovery, circuit breaker, intelligent routing, micro-proxy, control bus, global locks, leadership election, distributed sessions). Coordination of these systems leads to boiler plate patterns, and using Spring Cloud you can quickly create applications that implement those patterns.

Filter by
Sorted by
Tagged with
0
votes
2answers
15 views

Make embedded Spring Cloud Config Server with sub-context-path

In order to have a Spring Cloud Config Server / Spring Boot Admin all-in-one combo, I'd need to declare a global subpath for the config server API as I did with Spring Boot Admin's one (spring.boot....
0
votes
0answers
9 views

How to build spring based micro services state syncing after any node failure service crash

I have few micro services, they accept the data from customer and process the request asynchronously, later customer can come and check the status, to make my platform my robust, I am planning to ...
0
votes
0answers
10 views

Spring Cloud Security - @PreAuthorize alternative in YML routing?

I'm trying to implement routing in a Gateway application, and this is my first time doing so. Ideally, I'd like to use the YML file for routing. Or, use a RouteLocator bean. But currently, I have ...
0
votes
0answers
38 views

How Spring Cloud Stream reactive processing works?

How to achieve reactive message processing in Spring Cloud Stream? I read about Spring Cloud Function and that I should use them for reactive processing so I created sample one: @Bean public Consumer&...
0
votes
0answers
27 views

Spring Cloud Data Flow: deploy stream defined with Java DSL

I'm using Spring Cloud Data Flow. Is there any way to deploy a stream defined with the Java DSL providing the .jar uri instead of executing it as a client? I want to threat it like the applications ...
0
votes
1answer
10 views

Unable to deploy streams on Spring Cloud Dataflow

Problem I was able to register applications and deploy them previously, now I am not able to. curl --request POST \ --url http://10.30.7.244:31444//apps/source/http \ --header 'content-type: ...
0
votes
0answers
12 views

Zuul gateway not redirecting to given URL after security authentication

My setup is a Zuul gateway server redirecting to a books handling API (Spring). The problem is it redirects fine when route is not authenticated, but when I try to access authenticated route - it ...
0
votes
1answer
13 views

Spring cloud data flow - Task - how to pass command line argument

I am having a hard time to make a simple task run successfully in the spring cloud data flow (SCDF). This is what I wanted to do simply. @Override public void run(String... args) throws ...
0
votes
1answer
16 views

My regex does not effective in spring-cloud-gateway

I'm learning spring-cloud-gateway, when I practice predicates, I want to try some regex like followings: spring: cloud: gateway: routes: - id: after_route uri: http://...
0
votes
0answers
29 views

Why placeholders in the bootstrap.yml are not resolved?

I'm getting below exception in my Spring project: Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'MY_KEY' in value "${MY_KEY}" org.springframework.util....
0
votes
1answer
10 views

feign.FeignException: status 404 reading in microservice invoke

When I am invoke microservice rest api like this: Response<List<RoomPlay>> response = reportRoomHappyBombDetailController.happybombRoomDetailAnalysis(BizAnalysisConstant....
0
votes
1answer
18 views

Spring cloud sleuth Annotations: Autowiring doesn't work

I have Spring cloud sleuth(and also zipkin) configured in my application. I have a controller which calls service, which in turn calls repository and finally database. The setup works fine, Sleuth ...
1
vote
1answer
28 views

How to run the app with spring-cloud-starter-aws locally?

I need to run Spring Boot based app locally. It uses spring-cloud-starter-aws dependency. The problem is that it tries to connect to EC2 metadata service always. Setting "cloud.aws.*" properties doesn'...
0
votes
0answers
26 views

Best practice to use routing of Spring Boot application in Kubernetes

I have Spring Boot application. It has endpoint /api/check So I can call it locally via localhost:8080/api/check I'd like to deploy it to Kubernetes. And there will be more services. So I ...
0
votes
0answers
11 views

Difference between @Value and @ConfigurationProperties?

Difference between @Value and @ConfigurationProperties? In which scenario should I use @Value or @ConfigurationProperties? @RefreshScope will refresh properties value for both?

15 30 50 per page
1
2 3 4 5
239