def decode_consumer_metadata_response(cls, data):
        """
        Decode bytes to a kafka.structs.ConsumerMetadataResponse

        Arguments:
            data: bytes to decode
        """
        ((correlation_id, error, nodeId), cur) = relative_unpack('>ihi', data, 0)
        (host, cur) = read_short_string(data, cur)
        ((port,), cur) = relative_unpack('>i', data, cur)

        return kafka.structs.ConsumerMetadataResponse(error, nodeId, host, port)
def decode_consumer_metadata_response ( cls , data ) : ( ( correlation_id , error , nodeId ) , cur ) = relative_unpack ( '>ihi' , data , 0 ) ( host , cur ) = read_short_string ( data , cur ) ( ( port , ) , cur ) = relative_unpack ( '>i' , data , cur ) return kafka . structs . ConsumerMetadataResponse ( error , nodeId , host , port )
Decode bytes to a kafka.structs.ConsumerMetadataResponse

        Arguments:
            data: bytes to decode