Skip to content

Commit a030a44

Browse files
committed
CommitOffset with readsessionid
1 parent 7de9687 commit a030a44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/_grpc/grpcwrapper/ydb_topic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,15 @@ class CommitOffsetRequest(IToProto):
143143
consumer: str
144144
partition_id: int
145145
offset: int
146+
read_session_id: Optional[str] = None
146147

147148
def to_proto(self) -> ydb_topic_pb2.CommitOffsetRequest:
148149
return ydb_topic_pb2.CommitOffsetRequest(
149150
path=self.path,
150151
consumer=self.consumer,
151152
partition_id=self.partition_id,
152153
offset=self.offset,
154+
read_session_id=self.read_session_id,
153155
)
154156

155157

0 commit comments

Comments
 (0)