Skip to content

Commit 232c4cf

Browse files
authored
rename to topic_errors for newer versions of aiokafka and bump minimum version to v0.10.0 (#639)
1 parent 1afa214 commit 232c4cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

faust/transport/drivers/aiokafka.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,9 +1563,9 @@ async def _really_create_topic(
15631563
return
15641564
response = wait_result.result
15651565

1566-
assert len(response.topic_error_codes), "single topic"
1566+
assert len(response.topic_errors), "single topic"
15671567

1568-
_, code, reason = response.topic_error_codes[0]
1568+
_, code, reason = response.topic_errors[0]
15691569

15701570
if code != 0:
15711571
if not ensure_created and code == TopicExistsError.errno:

requirements/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
aiohttp>=3.8.0,<4.0
22
aiohttp_cors>=0.7,<2.0
3-
aiokafka>=0.9.0
3+
aiokafka>=0.10.0
44
click>=6.7,<8.2
55
mode-streaming>=0.4.0
66
opentracing>=1.3.0,<=2.4.0

0 commit comments

Comments
 (0)