def __init__(
self,
topic: str,
partition: int = -1,
offset: int = -1001,
metadata: Optional[str] = None,
leader_epoch: Optional[int] = None,
) -> None:
self.topic = topic
self.partition = partition
self.offset = offset
self.metadata = metadata
self.leader_epoch = leader_epoch