New Features

Added JobQueue to ZendHQ extension for ZendPHP. Features for ZendHQ vary by API / GUI, and include:

  • PHP API (Programmatic)
    • Create and delete queues.
    • Suspend and resume queues.
    • List queues.
    • Schedule and query jobs.
    • Cancel jobs.
    • Create and view jobs.
    • See scheduled jobs and job details.
  • ZendHQ GUI (Manual)
    • Create and delete queues.
    • Suspend and resume queues.
    • List queues.
    • Schedule and query jobs.
    • Cancel jobs.
    • Create and view jobs.
    • See scheduled jobs and job details.
    • View job history.
    • Create monitoring rules for job failures and errors.
  • JSON-RPC API (Programmatic)
    • Create and delete queues.
    • Suspend and resume queues.
    • List queues.
    • Schedule and query jobs.
    • Cancel jobs.
    • Create and view jobs.
    • See scheduled jobs and job details.
    • View job history.
    • Create monitoring rules for job failures and errors
  • Monitoring updates
    • The Monitoring component is changed to support the JobQueue monitoring events jq-exec-failure and jq-exec-delay.
    • The mon.issue JSON RPC event and mon.get_issues and mon.get_events methods now contain the optional job member with Job Queue job information.

See Full JobQueue Documentation.

Changes

  • Changed 0MQ messaging protocol to include API version in the message header in addition to the protocol version. ZendHQ daemon now refuses to talk to PHP nodes that report a different API version.

  • Changed ZendHQ daemon extension interfaces to include an API version. ZendHQ daemon now refuses to load extensions that report a different API version.

    The ZendHQ PHP extension now obeys the \SensitiveParameter attribute and hides sensitive values also in Monitoring events, Code Tracing dump files, and Z-Ray plugins. Sensitive values are reported as ZendHQSensitiveValue class instances to indicate that the sensitive value was hidden.

  • Added the session.namespaces JSON RPC method. The session.namespaces JSON RPC method returns a list of all the namespaces available for the current session.

  • Added the session.version JSON RPC method. The session.version JSON RPC method returns the current session namespace API version number.

  • Added trace_size member to the Code Tracing JSON-RPC API. The trace_size member contains the total size of the Code Tracing trace files on the disk.