Skip to content

ActorRuntime doesn't allow overriding ports similarly to WorkflowRuntimeBuilder or DaprClient #1202

@artur-ciocanu

Description

@artur-ciocanu

Expected Behavior

Awhile ago we have added support for properties override, this proved to be extremely useful and allowed us to remove a lot of global side effects based on System.setProperty() however the migration hasn't been complete. It seems that ActorRuntime doesn't allow us to override the Dapr ports, this leads to issues when running actors in Testcontainers.

When running in Testcontainers we always try to connect to default GRPC port and everything fails with GRPC exceptions.

We should change the ActorRuntime so we could override properties that could be populated from Testcontainers.

Actual Behavior

There is no way to override the ports when instantiating ActorRuntime.

Steps to Reproduce the Problem

A good description of the issue can be found in this PR: #1192

Release Note

RELEASE NOTE:

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions