Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Per Actor Type Configuration #277

Open
halspang opened this issue Apr 7, 2022 · 2 comments
Open

Add Support for Per Actor Type Configuration #277

halspang opened this issue Apr 7, 2022 · 2 comments
Labels
area/actor enhancement New feature or request enhancement-runtime-dependency New feature or request due to a runtime feature

Comments

@halspang
Copy link

halspang commented Apr 7, 2022

Describe the proposal

The Dapr Runtime added support for per actor type configurations in 1.7. This support needs to be added to the SDKs.

The new configuration looks like:

{
  "entities":["actorType1", "actorType2"],
  "actorIdleTimeout": "1h",
  "actorScanInterval": "30s",
  "drainOngoingCallTimeout": "30s",
  "drainRebalancedActors": true,
  "reentrancy": {
    "enabled": true,
    "maxStackDepth": 32
  },
  "entitiesConfig": [
      {
          "entities": ["actorType1"],
          "actorIdleTimeout": "1m",
          "drainOngoingCallTimeout": "10s",
          "reentrancy": {
              "enabled": false
          }
      }
  ]
}

Implementation can be varied per SDK but should output to the above JSON.

Docs: dapr/docs#2334
Runtime: dapr/dapr#4201

@halspang halspang added the enhancement New feature or request label Apr 7, 2022
@msfussell msfussell added the enhancement-runtime-dependency New feature or request due to a runtime feature label Jun 8, 2022
@mikeee
Copy link
Member

mikeee commented Aug 23, 2023

@halspang - Is the example missing a RemindersStoragePartition key?

@halspang
Copy link
Author

Yes, the example doesn't have that in it but it is a valid part of the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/actor enhancement New feature or request enhancement-runtime-dependency New feature or request due to a runtime feature
Projects
None yet
Development

No branches or pull requests

3 participants