event stream based processing on client