Topology and retardation effect of a giant atom in a topological waveguide