[ 
https://issues.apache.org/jira/browse/KAFKA-18135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Schofield resolved KAFKA-18135.
--------------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

> ShareConsumer HB UnsupportedVersion msg mixed with Consumer HB
> --------------------------------------------------------------
>
>                 Key: KAFKA-18135
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18135
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer
>            Reporter: Lianet Magrans
>            Assignee: Peter Lee
>            Priority: Major
>             Fix For: 4.1.0
>
>
> UnsupportedVersion error is handled in the parent 
> AbstractHeartbeatRequestManager, so used by consumer and share consumer. If a 
> share consumer gets the errors, it will end up with a msg that is currently 
> specific to consumer
> [https://github.com/apache/kafka/blob/6fd951a9c0aa773060cd6bbf8a8b8c47ee9d2965/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractHeartbeatRequestManager.java#L384-L386]
> One option could be to handle the UnsupportedVersion separately in the 
> existing 
> handleSpecificError (note that the unsupported version for consumer may also 
> end up containing a msg specific to SubscriptionPattern not supported in HB 
> v0, if regex is used without the required v1)



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

Reply via email to