Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aws_lambda_powertools/utilities/data_classes/kafka_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ def topic(self) -> str:
return self["topic"]

@property
def partition(self) -> str:
def partition(self) -> int:
"""The Kafka record parition."""
return self["partition"]

@property
def offset(self) -> str:
def offset(self) -> int:
"""The Kafka record offset."""
return self["offset"]

Expand Down