Lianet Magrans created KAFKA-18135:
--------------------------------------
Summary: 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
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)