read from rabbit queue to the ES