oittaa / gcp-storage-emulator

Local emulator for Google Cloud Storage
BSD 3-Clause "New" or "Revised" License
155 stars 42 forks source link

Java client api setup targeting localhost #283

Open niuhr2 opened 3 months ago

niuhr2 commented 3 months ago

Using the GCP Java api for storage, it is not obvious how to set it up to target the emulator running locally or elsewhere. This is a short example on how to do that.