Should gcp-pub-sub
work with emulated pubsub PUBSUB_EMULATOR_HOST
#5638
Unanswered
lskiva-r7
asked this question in
Q&A / Need Help
Replies: 1 comment 1 reply
-
Where do you set this env value? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Another pod is using this image:
google/cloud-sdk
We run this on that container in order to emulate pubsub:
We then run our service using the
gcp-pubsub
trigger.We do pass the
PUBSUB_EMULATOR_HOST
with the address of the other pod as an environment variable for the command.We have a test that publishes pubsub to the same subscription using the
PUBSUB_EMULATOR_HOST
during a test.But the trigger doesn't seem to work when doing that.
Does the
PUBSUB_EMULATOR_HOST
work here?Beta Was this translation helpful? Give feedback.
All reactions