A demo that shows publish and subscribe as well as validate on insert