Google cloud platform 是否可以将gcloud CLI连接到Pubsub仿真器实例
使用Google cloud platform 是否可以将gcloud CLI连接到Pubsub仿真器实例,google-cloud-platform,google-cloud-pubsub,Google Cloud Platform,Google Cloud Pubsub,使用gcloudCLI启动PubSub emulator并相应加载环境变量后,gcloudCLI仍通过我们的Google生产帐户进行身份验证。基本上,我们做到了: # Starting the emulator in one shell gcloud beta emulators pubsub start # In a different shell $(gcloud beta emulators pubsub env-init) gcloud pubsub topics list 但是,这
gcloud
CLI启动PubSub emulator并相应加载环境变量后,gcloud
CLI仍通过我们的Google生产帐户进行身份验证。基本上,我们做到了:
# Starting the emulator in one shell
gcloud beta emulators pubsub start
# In a different shell
$(gcloud beta emulators pubsub env-init)
gcloud pubsub topics list
但是,这里列出了我们的生产主题。预期的输出将是一个空列表,因为我们试图从新启动的PubSub仿真器中列出主题,该仿真器在启动时不包含任何内容
我们使用cbt
CLI启动Bigtable emulator并连接到它,而该CLI知道Bigtable\u emulator\u主机
。是否可以使用相同的工具来管理/检查PubSub emulator资源?似乎gcloud
不知道*\u EMULATOR\u HOST
变量
提前谢谢大家,
PS:gloud版本的输出
Google Cloud SDK 182.0.0
alpha 2017.09.15
beta 2017.09.15
bigtable
bq 2.0.27
cbt
core 2017.12.01
gcloud
gsutil 4.28
kubectl
pubsub-emulator 2017.09.15
中存在此功能的功能请求。工程团队知道这一请求,目前正在调查,没有预计到达时间。所有进一步的通信都将在该区域进行
- 注意:建议在中报告所有Google终端功能请求和问题,以便通知相应的团队李>