@AssertTrue(message = "compression codec can be 'none', 'gzip' or 'snappy'")
	public boolean isValidCompressionCodec() {
		return this.compressionCodec.equals("none") || this.compressionCodec.equals("gzip")
				|| this.compressionCodec.equals("snappy");
	}
Module options for Kafka Producer configuration.

@author Ilayaperumal Gopinathan
@author Marius Bogoevici
extensions/spring-xd-extension-kafka/src/main/java/org/springframework/integration/x/kafka/KafkaProducerOptionsMixin.java