public KafkaClient setProducerProperties(Properties props) {
        if (props == null) {
            producerProperties = null;
        } else {
            producerProperties = new Properties();
            producerProperties.putAll(props);
        }
        return this;
    }
public KafkaClient setProducerProperties ( Properties props ) { if ( props == null ) { producerProperties = null ; } else { producerProperties = new Properties ( ) ; producerProperties . putAll ( props ) ; } return this ; }
Sets custom producer configuration properties.

@param props
@return
@since 1.2.1