deflate_level (nsqd 0.2.23+) configure the deflate compression level 
        for this connection.

        --max-deflate-level (nsqd flag) configures the maximum allowed value

        Valid range: 1 <= deflate_level <= configured_max

        Higher values mean better compression but more CPU usage for nsqd.

def deflate_level(self, deflate_level):
        """deflate_level (nsqd 0.2.23+) configure the deflate compression level 
        for this connection.

        --max-deflate-level (nsqd flag) configures the maximum allowed value

        Valid range: 1 <= deflate_level <= configured_max

        Higher values mean better compression but more CPU usage for nsqd.
        """

        assert issubclass(deflate_level.__class__, int)

        return self.__push('deflate_level', deflate_level)