isLeader() {
    return this.leaderId && this.memberId === this.leaderId
  }
Preferred read replica per topic and partition

Each of the partitions tracks the preferred read replica (`nodeId`) and a timestamp
until when that preference is valid.

@type {{[topicName: string]: {[partition: number]: {nodeId: number, expireAt: number}}}}