Kuan Po Tseng created KAFKA-18234:
-------------------------------------
Summary: DumpLogSegments cannot print
ConsumerGroupRegularExpression record
Key: KAFKA-18234
URL: https://issues.apache.org/jira/browse/KAFKA-18234
Project: Kafka
Issue Type: Bug
Reporter: Kuan Po Tseng
Assignee: Kuan Po Tseng
When using new consumer protocol and call subscribe by invoking
SubscriptionPattern.
{code:java}
consumer.subscribe(new SubscriptionPattern("test*"));
{code}
Then use kafka-dump-log to check the consumer_offsets log
{code:java}
./bin/kafka-dump-log.sh --offsets-decoder --files
{code}
Unknown record type 16 at offset 5 error shows up. We should add
`ConsumerGroupPartitionMetadataKey` and `ConsumerGroupPartitionMetadataValue`
to DumpLogSegments to fix this error.
{code:java}
| offset: 5 CreateTime: 1734107666076 keySize: 21 valueSize: 20 sequence: 5
headerKeys: [] key: Unknown record type 16 at offset 5, skipping.{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)