[
https://issues.apache.org/jira/browse/TS-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15031982#comment-15031982
]
ASF GitHub Bot commented on TS-4032:
------------------------------------
Github user SolidWallOfCode commented on the pull request:
https://github.com/apache/trafficserver/pull/343#issuecomment-160667524
I have updated the PR with several changes.
* "Alert" is now "Message"
* Messaging is a privileged operation.
* Messages have a tag and payload (data). The former is a null terminated
string and the latter is a slab of bytes.
* traffic_ctl requires both tag and data to be null terminated strings
because they are both command line arguments.
I haven't had a chance to work on example uses yet, although I have made
progress in designing them.
> Provide command line alert feature for plugins
> ----------------------------------------------
>
> Key: TS-4032
> URL: https://issues.apache.org/jira/browse/TS-4032
> Project: Traffic Server
> Issue Type: New Feature
> Components: Plugins
> Reporter: Alan M. Carroll
> Assignee: Alan M. Carroll
> Labels: Review
> Fix For: 6.1.0
>
>
> Add another event to the lifecycle hook, ALERT. This will be sent only from
> an external API, e.g. {{traffic_ctl}}. Any plugin that wants to be alertable
> from the command line can attach to this hook and watch for the event
> {{TS_EVENT_LIFECYCLE_ALERT}}. The data for the event wil be a string that is
> provided by the external agent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)