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

Support double wildcards in actor deployment config #4136

Closed
stijnherreman opened this issue Jan 6, 2020 · 1 comment · Fixed by #4372
Closed

Support double wildcards in actor deployment config #4136

stijnherreman opened this issue Jan 6, 2020 · 1 comment · Fixed by #4372
Assignees
Milestone

Comments

@stijnherreman
Copy link

Akka supports double wildcards in the actor deployment configuration. This is documented here (it's missing in the current docs):

you can use double-wildcards in the last position to match all child actors and their children recursively: /someParent/**

The relevant PR for this feature is akka/akka#20525. See https://github.com/akka/akka/blob/6278968af56f36b8ff3fd4a0a443e5218bceb838/akka-actor/src/main/scala/akka/util/WildcardIndex.scala for current version of this file.

It would be great to have this available in Akka.NET too. This will allow simplifying configuration from

"/foo/*" {
	dispatcher = bar
}
"/foo/*/*" {
	dispatcher = bar
}
"/foo/*/*/*" {
	dispatcher = bar
}

to

"/foo/**" {
	dispatcher = bar
}
@Aaronontheweb
Copy link
Member

This will be released as part of Akka.NET v1.4.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants