Further to the undercut suggested by Bandersnatch I recall seeing this as official or at least semi-official advice from an industrial oriented source that would be expected to be reliable.
As I recall matters the suggestion was, when using loctite or similar, for a couple of thou undercut for less than the full width of the component to be retained. The idea being that the adhesive would be retained in the undercut reducing mess whilst the narrow flanges of the component extending onto the full diameter of the shaft at both ends would keep things in line as the adhesive reached full cure strength.
I suspect the source was a comparative assessment of the different ways in which a component could be quickly retained on a simple shaft without keys, splines et al without risking misalignment by tilting. I'm pretty sure it also covered things like tolerance rings and conventional adhesives like epoxies.
Worth remembering that the cure process of aerobic adhesives is somewhat catalysed by the metal surfaces of the components. Which obviously works disproportionately faster with very thin layers.
Clive