code: def set_last_position(self, last_position):
          
          self.last_position = last_position
          if last_position is not None and last_position.get('last_read') is not None:
              self.last_read = last_position['last_read']
          else:
              self.last_read = -1
              self.last_position = {
                  'last_read': self.last_read
              }
docs: Called from the manager, it is in charge of updating the last position of data commited
          by the writer, in order to have resume support