Panel mount GX12 plug connectors are sold as pairs. This is a robust metal connector which can be used for power or signal.
M12 male connector is specially developed for the miniature sensor market and any application that requires multiple sensors within a very small area