add consumer and producer sample