You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This version emulator fails to start without --project property
gcloud beta emulators datastore start
ERROR: (gcloud.beta.emulators.datastore.start) The required property [project] is not currently set.
You may set it for your current workspace by running:
$ gcloud config set project VALUE
or it can be set temporarily by the environment variable [CLOUDSDK_CORE_PROJECT]
Environment details
org.springframework.cloud:spring-cloud-gcp-starter-data-datastore:1.2.5.RELEASE, I checked - same with the latestgoogle-cloud-datastore:1.104.0google-cloud-core:1.93.7Steps to reproduce
This version emulator fails to start without
--projectpropertygcloud beta emulators datastore startStarting emulator with Java code like this:
Causes: no messages in logs, the application failed to call the Datastore then with I/O exceptions, i.e. curl doesn't work.
Workaround
Set env variable:
CLOUDSDK_CORE_PROJECTwith the projectId valueQuestions
LocalDatastoreHelperdoesn't pass--projecton startup and doesn't expect this from the builder?LocalDatastoreHelper #startfail to start on this kind of errors?Besides the outcomes of these questions, I would expect this class to fail to start or log something.