public static AckMessage CreateAckMessage(ServerMessage msg, string serverName) => new(msg.MessageId, serverName);
public async Task SendAck(ServerMessage message) { var ack = AckMessage.CreateAckMessage(message, _serverName); await _writeQueue.SendMessageAsync(JsonSerializer.Serialize(ack)); }