Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 538 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 538 Bytes

Message Puller

Pulling messages from Google Pub/Sub and periodically acknowledging them is not a piece of cake in PHP. This Go binary will pull the messages, start a PHP process for the message and extend their deadline until the process is finished (or timed-out).

./puller -google-project-id=[project-id] -service-account=[base64-encoded] -subscription=[subscription-name] -script-path=[path]

The script with be ran with the following arguments:

  1. The base64-encoded message
  2. The base64-encoded JSON array of attributes