simple pubsub endpoint