public override int WriteToWire(KafkaWireWriter writer) { writer.Write((short)ApiKey); writer.Write(ApiVersion); writer.Write(CorrelationId); return 2 + 2 + 4 + writer.WriteAndReturnLength(ClientId); }
public override int WriteToWire(KafkaWireWriter writer) { return writer.WriteAndReturnLength(Topic) + writer.Write(Partitions); }