Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nhartner authored Feb 22, 2021
1 parent 0b48f85 commit 4c3df60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ Example Spring project showing how to use launch GCP emulator and test spring GC
Key points:
- test-containers library is used to launch google-sdk docker container and start pubsub emulator inside it
- Tests are overridden to hit emulator via `src/test/resources/test.properties` by setting `spring.cloud.gcp.pubsub-emulator-host: localhost:8085` (default emulator port)
- `TestPubSubConfig` is used to bring up pubsub emulator inside a docker container, create a topic and subscription in the emulator. This is using GCP SDK directly, not Spring pubsub, to create the resources.
- `TestPubSubConfig` is used to bring up pubsub emulator inside a docker container, create a topic and subscription in the emulator. This is using GCP SDK directly, not Spring pubsub, to create the resources.

test change

0 comments on commit 4c3df60

Please sign in to comment.