将微服务部署到 Pivotal Cloud Foundry 并建立微服务之间的通信

Deploying micro services to Pivotal Cloud Foundry and establish communication between the micro services

我有多个 .Net 核心微服务,其中一些微服务将 talk/communicate 与其他微服务一起使用。我想将这些服务分别部署到 Pivotal Cloud Foundry(PCF) 到不同的容器中,并且需要在它们之间建立通信。

我曾尝试在 PCF 中使用注册表服务,但没有成功。

我想知道微服务之间建立通信的步骤。

任何现有的代码示例都会有所帮助。

有人可以帮忙吗?

谢谢

你需要的是Steeltoe.

Steeltoe 客户端库使 .NET Core 和 .NET Framework 应用程序能够轻松利用 Netflix Eureka、Hystrix、Spring Cloud Config Server 和 Cloud Foundry 服务。