11# Pub/Sub Emulator Lite
22
3+ <!-- toc:start-->
4+ - [ Pub/Sub Emulator Lite] ( #pubsub-emulator-lite )
5+ - [ Usage] ( #usage )
6+ - [ docker compose] ( #docker-compose )
7+ - [ docker run] ( #docker-run )
8+ - [ Connecting] ( #connecting )
9+ - [ Comparison] ( #comparison )
10+ <!-- toc:end-->
11+
312A minified version of the google cloud pub/sub emulator
413
514## Usage
615
716### docker compose
17+
818```
919services:
1020 pse-lite:
@@ -14,12 +24,31 @@ services:
1424```
1525
1626### docker run
27+
1728Just pull the image and run it via ` docker run `
1829
1930` docker run -p 8090:8090 ghcr.io/neoscript/pubsub-emulator-lite:latest `
2031
2132### Connecting
33+
2234Access it via ` http://localhost:8090/ `
2335
2436> [ !NOTE]
25- > You can set your own port forwarding if you want to expose the emulator via a different port.
37+ > You can set your own port forwarding rules
38+ > if you want to expose the emulator via a different port.
39+
40+ ## Comparison
41+
42+ Comparing the size of alternative solutions.
43+ > [ !NOTE]
44+ > Some of the other solutions have handy tooling built in.
45+ > Such as reading a configuration file and pre-building topics/subscriptions.
46+ > This image does not currently have that capability, perhaps soon.
47+
48+ | image | version | image_id | created | size |
49+ | ------------------------------------------------- | ----------- | -------------- | -------------- | -------- |
50+ | thekevjames/gcloud-pubsub-emulator | latest | fba9232f5582 | 7 hours ago | 1.12GB |
51+ | gcr.io/google.com/cloudsdktool/google-cloud-cli | emulators | 420d45e98937 | 9 hours ago | 1.06GB |
52+ | ghcr.io/neoscript/pubsub-emulator-lite | latest | e5efb4f71c82 | 16 hours ago | 921MB |
53+ | messagebird/gcloud-pubsub-emulator | latest | b690195d | 5 years ago | 1.36GB |
54+ : Comparison done: 2025-09-03T20:17:39+00:00
0 commit comments