Skip to content

Commit 778229e

Browse files
author
Valeriya Popova
committed
topic reader: drop flush from public api
1 parent 5d94c17 commit 778229e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ydb/_topic_reader/topic_reader_asyncio.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ async def commit_with_ack(
120120
waiter = self._reconnector.commit(batch)
121121
await waiter.future
122122

123-
async def flush(self):
124-
"""
125-
force send all commit messages from internal buffers to server and wait acks for all of them.
126-
127-
use asyncio.wait_for for wait with timeout.
128-
"""
129-
await self._reconnector.flush()
130-
131123
async def close(self, flush: bool = True):
132124
if self._closed:
133125
raise TopicReaderClosedError()

0 commit comments

Comments
 (0)