@Override
 public byte[] encode(MarketUpdate message) throws IOException {
   return message.toByteArray();
 }