googlecodelabs / gcp-marketplace-integrated-saas

Apache License 2.0
19 stars 22 forks source link

[marketplace-integrated-saas]: #97

Open roboweaver opened 4 months ago

roboweaver commented 4 months ago

On step 4, the instructions are to run the command to create the subscription (which works):

Subscription created: name: "projects/adbe-gcp0739/subscriptions/codelab"
topic: "projects/cloudcommerceproc-prod/topics/DEMO-adbe-gcp0739"
push_config {
}
ack_deadline_seconds: 10
message_retention_duration {
  seconds: 604800
}
expiration_policy {
  ttl {
    seconds: 2678400
  }
}
state: ACTIVE

The subscription is in the console, but click through to the topic gives permission errors (guessing the topic is on a different project ?)

then running the python -m impl.step_1_pubsub.app command appears to be running, but when submitting the "purchase" form nothing ever comes to the console:

Robs-Mac-Studio:python3 robweaver$ python -m impl.step_1_pubsub.app
Listening for messages on projects/adbe-gcp0739/subscriptions/codelab
Exit with Ctrl-\

Also Ctrl-\ doesn't do anything, but I could exit with normal Ctrl-C