question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Storage emulator support

See original GitHub issue

Firestore has property spring.cloud.gcp.firestore.emulator.enabled. Is there a way to configure spring app, that could let it know, to not use GOOGLE_APPLICATION_CREDENTIALS path variable, but connect to storage emulator on localhost?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
elefeintcommented, Oct 26, 2021

You can create a custom CredentialsProvider (for example, to return NoCredentials) to turn off environment detection of credentials. To use a custom storage backend, you can override this bean.

What GCS emulator are you using?

0reactions
ddixit14commented, Nov 8, 2021

Hi @mateuszsokolski, currently the storage emulator (which is a part of the firebase emulator suite) is not supported by non-firebase storage clients. For further reference, please have a look at https://github.com/googleapis/java-storage/issues/875, https://github.com/googleapis/nodejs-storage/issues/1473 and https://github.com/firebase/firebase-tools/issues/3508

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use the Azure Storage Emulator for development and testing ...
The Microsoft Azure Storage Emulator is a tool that emulates the Azure Blob, Queue, and Table services for local development purposes. You can ......
Read more >
Connecting to the storage emulator | Microsoft Windows Azure ...
The Windows Azure SDK provides a compute emulator and a storage emulator that work in a development environment to provide a local emulation...
Read more >
How to clear Azure Storage Emulator - eduCBA
Help : We need to script /help at the command prompt for displaying the list of options for Storage Emulator operations. Start Your...
Read more >
Upgrade Azure Storage Emulator on D365FO OneBox Without ...
The new version of the emulator is now called Azurite, which now provides cross-platform support on Windows, Linux, and macOS. Azurite ...
Read more >
Does Azure Storage Emulator Support File Shares?
From the docs. The File service and SMB protocol service endpoints are not currently supported in the storage emulator.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found