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

Virtual actor spawn filtering #1653

Merged
merged 3 commits into from
Jun 7, 2022
Merged

Virtual actor spawn filtering #1653

merged 3 commits into from
Jun 7, 2022

Conversation

mhelleborg
Copy link
Member

Description

Adresses #1310, adds the ability to filter which identities can be spawned as a virtual actor per kind. The IdentityLookup will throw IdentityIsBlocked when attempting to spawn an identity which for the CanSpawnIdentity predicate returns false.
This will need to be set for each ClusterKind one wants to have spawn filtering.

Purpose

This pull request is a:

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

…allowed to spawn. This can be used to prevent expensive bootstrapping on non-existent identities.

This is configured by the user as a predicate on ClusterKind
@rogeralsing rogeralsing merged commit f9f1fe8 into dev Jun 7, 2022
@rogeralsing rogeralsing deleted the activation-filter branch June 7, 2022 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants