DistributedPubSub: topic names with characters that require UriEncode
escaping can't be received by subscribers
#7628
Labels
Milestone
Version Information
Version of Akka.NET? v1.5.41
Which Akka.NET Modules? Akka.Cluster.Tools
Describe the bug
If a user
Subscribe
to a topic that contains aUri
-unfriendly character, such as this:{parentTopic}:{childTopic}
- that:
is going to getUriEncode
-d by theMediator
when we create theTopic
child actor for managing that topic.It looks like subsequent when
Publish
is attempting on that topic will getDeadLetter
'd because we don't also encode theTopic
name on each subsequent publish operation - and since the topic name and theTopic
actor name are now different, these messages get viewed as "having no subscribers" and areDeadLetter
'd per #7626Expected behavior
Publishing should still work even if the topic names have
Uri
-unfriendly characters in them.Actual behavior
Messages appear to get permanently lost upon publication.
The text was updated successfully, but these errors were encountered: