Skip to content

willsbctm/pubsub-emulator-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pubsub Emulator Admin

Build:

docker build -t pubsubadmin .

Run

Pull image:

docker pull willsbctm/pubsub-emulator-admin

Run container:

docker run -d -p 8000:8000 -p 8085:80 -p 8432:8432 willsbctm/pubsub-emulator-admin
  1. Admin portal will be available in: http://localhost:8085
  2. Pubsub will be available in: localhost:8432
  3. The Admin portal api will be available in http://localhost:8000/api

Consumer messages from emulator:

  1. Your app should have the environment variable PUBSUB_EMULATOR_HOST = 127.0.0.1:8432
  2. Your client sdk should have EmulatorDetection equal to EmulatorOnly or EmulatorOrProduction

Features:

Topics:

  1. Create
  2. List
  3. Delete

topics

Details:

  1. List subscriptions
  2. Delete subscriptions

sub

Message:

  1. Send message to topic

message