use udp or tcp as subscriber connection type