ENG-4510: Set rejoin type in RejoinProducer constructor so that it can correctly
construct task log later.