get data from redis queue
resolve conflicts