Github user SolidWallOfCode commented on the pull request:
https://github.com/apache/trafficserver/pull/343#issuecomment-159647608
I thought quite a bit about broadcast vs. targeted messages and decided I
prefer this style. It's based on my previous experience with message bus style
mechanisms. The ability to impose additional structure on the messages is very
useful and should be preserved. For instance a plugin might "subscribe" to more
than one channel and use a common library to select messages based on those
subscriptions. If you survey the standard kind of mechanism used for such
message busses you will see this pattern (particularly using domain style names
"a.b.c.d") as very common and I want that to be easy to implement on top of
this mechanism. In terms of overall processing the same work will be done
whether it's the core doing the name comparison or the plugin. I may want to
add some additional support for this so a plugin can easily listen for messages
with a specific prefix.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---