[
https://issues.apache.org/jira/browse/KAFKA-17964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17900322#comment-17900322
]
Chia-Ping Tsai commented on KAFKA-17964:
----------------------------------------
{quote}
Those tests should use the latest version and KAFKA-18060 is only about version
0 to 2.
{quote}
The root cause is the empty member ID—in versions v0-v2, TxnOffsetCommitRequest
definitely has an empty member ID. This is the first issue.
The second issue is that the deprecated sendOffsetsToTransaction does not use
v0-v2 to send TxnOffsetCommitRequest with an empty member ID
(https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/TxnOffsetCommitRequest.java#L55).
This seems strange to me, but it has been released for a while. Therefore, in
KAFKA-18060, the new coordinator needs to handle TxnOffsetCommitRequest with an
empty member ID for all versions.
> TransactionsTest.testSendOffsetsWithGroupId fails with CONSUMER group protocol
> ------------------------------------------------------------------------------
>
> Key: KAFKA-17964
> URL: https://issues.apache.org/jira/browse/KAFKA-17964
> Project: Kafka
> Issue Type: Bug
> Components: admin, clients, consumer
> Affects Versions: 3.9.0
> Reporter: Kirk True
> Assignee: Kuan Po Tseng
> Priority: Major
> Labels: integration-test, kip-848-client-support
>
> When executing the {{{}TransactionsTest{}}}'s
> {{testSendOffsetsWithGroupId()}} using the {{CONSUMER}} group protocol, it
> fails with the error:
> {quote}{color:#ff0000}Transaction offset Commit failed due to consumer group
> metadata mismatch: The coordinator is not aware of this member.{color}
> {quote}
> This could very well be the same bug as KAFKA-17961.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)