first impl of pub command with inproc subscribe