Producer generate_task_id aware

check line 216