Forward messages from Cloud Scheduler to the Poller function topic.
Home
·
Poller component
·
Scaler component
·
Forwarder component
·
Terraform configuration
·
Monitoring
The Forwarder function takes messages published to PubSub from Cloud Scheduler, checks their JSON syntax and forwards them to the Poller PubSub topic. The topic can belong to a different project from the Scheduler.
The Memorystore Cluster instances reside in a given application project.
-
Cloud Scheduler lives in the same project as the Memorystore Cluster instances.
-
Cloud Scheduler publishes its messages to the Forwarder topic in the same project.
-
The Forwarder Cloud Function reads messages from the Forwarder topic, and
-
Forwards them to the Polling topic. The Polling topic resides in a different project.
-
The Poller function reads the messages from the polling topic and further continues the process as described in the main architecture section.
It is important to note that Autoscaler infrastructure is now distributed across several projects. The core components reside in the Autoscaler project An instance of Cloud Scheduler, the Forwarder topic and the Forwarder Function reside in each of the application projects.
Using the Forward function forwards to the PubSub specified in the environment
variable POLLER_TOPIC
.
Key | Description |
---|---|
POLLER_TOPIC |
PubSub topic the Poller function listens on |