code: public static LogPosition createPosition(Event event) {
          EntryPosition position = new EntryPosition();
          position.setJournalName(event.getJournalName());
          position.setPosition(event.getPosition());
          position.setTimestamp(event.getExecuteTime());
          // add serverId at 2016-06-28
          position.setServerId(event.getServerId());
          // add gtid
          position.setGtid(event.getGtid());
  
          LogPosition logPosition = new LogPosition();
          logPosition.setPostion(position);
          logPosition.setIdentity(event.getLogIdentity());
          return logPosition;
      }
docs: 根据entry创建对应的Position对象