从 .Net Core 无状态服务调用 .Net framework Service Fabric Actor

Calling .Net framework Service Fabric Actor from .Net Core Stateless Service

参与者依赖于用 .Net Framework 编写的 Nuget 包。 接口项目是用 .Net 标准编写的,因此可以从 .Net 核心无状态服务中使用它。

当我尝试从无状态服务调用我的 actor 时,出现错误:

FabricInvalidAddressException: NamedEndpoint 'V2Listener' not found in the address '{"Endpoints":{"":"abc.mydomain.com:30001+7cd01089-ada5-47b4-b057-c5ec048e5c9e-131856623077216555-c8ffdd2b-d8de-4fb1-a0c4-6aa54aede1a4"}}' for partition '7cd01089-ada5-47b4-b057-c5ec048e5c9e'
Microsoft.ServiceFabric.Services.Communication.Client.CommunicationClientFactoryBase<TCommunicationClient>.CreateClientWithRetriesAsync(ResolvedServicePartition previousRsp, TargetReplicaSelector targetReplicaSelector, string listenerName, OperationRetrySettings retrySettings, bool doInitialResolve, CancellationToken cancellationToken)

我尝试按照 Microsoft 的监听器升级教程在 actor 上添加 V2Listener,但没有成功。

请确保:

  1. 您正在使用 FabricTransportActorRemotingProviderAttribute 演员服务。
  2. 您的 actorservice
  3. 的服务清单中有一个名为 'ServiceEndpointV2' 的服务端点