using consumer for ws events