http wrapper for kafka consumers