public ReactorPeerFactoryBean<IN, OUT> setCodec(String codec) {
		this.delegateCodec = codecs.get(codec);
		Assert.notNull(delegateCodec, "No Codec found for type " + codec);
		return this;
	}
Set the type of {@link reactor.io.codec.Codec} to use to managing encoding and decoding of the data. <p> The
default options for codecs are: <ul> <li>{@code bytes} - Use the standard byte array codec.</li> <li>{@code
string} - Use the standard String codec.</li> <li>{@code syslog} - Use the standard Syslog codec.</li> </ul>
</p>

@param codec the codec
@return {@literal this}
extensions/spring-xd-extension-reactor/src/main/java/org/springframework/xd/integration/reactor/net/ReactorPeerFactoryBean.java