The quantum dynamics of scalar bosons embedded in the background of a cosmic string is considered. In this work, scalar bosons are described by the Duffin-KemmerPetiau (DKP) formalism. In particular, the effects of this topological defect in the equation of motion, energy spectrum, and DKP spinor are analyzed and discussed in detail. The exact solutions for the DKP oscillator in this background are presented in closed form.