The overall length of a spinnaker pole, including the fittings has to be 1524mm or less, see the Class Rules.
The fittings needed depend on the pole system used, see
End to end pole with conventional rope uphaul & downhaul
End to end Sidley rigid pole