These are chat archives for spring-cloud/spring-cloud

Aug 2018
Knut Schleßelmann
Aug 08 2018 08:19
Currently I'm trying to export my metrics to cloudwatch. Why is being downvoted? I cannot find anything in the official doc. What's the way to go if I want to use AWS CloudWatch Metrics in Spring Boot 2?
Aug 08 2018 08:54
hey boy
I want to ask a question
feign overtime
spring boot 2.0.3.RELEASE
spring cloud Finchley.RELEASE
how to configure
Szymon Zberaz
Aug 08 2018 08:56
@fengwenyi please tell us what you want to do with feign
Aug 08 2018 08:59
one application by feign Calling another service
Aug 08 2018 09:20
Marcos Barbero
Aug 08 2018 09:25
what’s the issue @fengwenyi ?
Szymon Zberaz
Aug 08 2018 09:41

@fengwenyi If you want to use feign client you need to create proxy class for example :

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;

import static org.springframework.web.bind.annotation.RequestMethod.POST;

@FeignClient(url = "localhost:8080")
public interface FooProxy {

    @RequestMapping(method = POST, value = "/bar")
    ResponseEntity<String> bar();

then use yml configuration for this proxy class or use class configuration method.
Please check documentation which is available on :