[ 
https://issues.apache.org/jira/browse/KAFKA-18648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916966#comment-17916966
 ] 

Chia-Ping Tsai commented on KAFKA-18648:
----------------------------------------

It seems `kafka-python` is not active as the recent release is 2.0.2 (Sep 29, 
2020) [https://github.com/dpkp/kafka-python/releases]

hence, I prefer to update KIP-896

> kafka-python requires metadata request version 1
> ------------------------------------------------
>
>                 Key: KAFKA-18648
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18648
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ismael Juma
>            Assignee: Ismael Juma
>            Priority: Blocker
>             Fix For: 4.0.0
>
>
> KIP-896 captured protocol api support from a few clients including 
> kafka-python. However, when we actually test a client, unexpected 
> dependencies can sometimes be uncovered.
> It turns out that kafka-python has a path where the metadata version used is 
> hardcoded to be v0 or v1:
> [https://github.com/dpkp/kafka-python/blob/a6d0579d3cadd3826dd364b01bc12a2173139abc/kafka/client_async.py#L835]
> We need to decide whether we keep the existing behavior in 4.0/trunk and 
> update the KIP to reflect that kafka-python won't work without a (small) 
> change or add back support for Metadata request v1-v3.
> I also filed an issue with kafka-python-ng (which is a fork of the original 
> that is not abandoned).
> https://github.com/wbarnha/kafka-python-ng/issues/208



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to