I'm using OpenFeign and Spring Cloud Kubernetes All As we know, Spring Cloud K8s allows us to use @FeignClient
by service name without a URL:
@RequestMapping("/messages")
@FeignClient(name = "notification-service")
interface MessageFeignClient {
@PostMapping
void notify(NotificationMessage message);
}
But how can I run locally the same code without Kubernetes?