正在呼叫.来自的Net framework Service Fabric Actor.Net Core无状态服务



actor依赖于写入的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)

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

请确保:

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

最新更新