You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "sijifeng (JIRA)" <ji...@apache.org> on 2019/04/28 09:23:00 UTC

[jira] [Created] (KAFKA-8302) consumer group error message

sijifeng created KAFKA-8302:
-------------------------------

             Summary: consumer group error message
                 Key: KAFKA-8302
                 URL: https://issues.apache.org/jira/browse/KAFKA-8302
             Project: Kafka
          Issue Type: Bug
          Components: admin
    Affects Versions: 1.0.0
            Reporter: sijifeng


Hi

Today, I found an online error. To fix this problem, I needed to reset offset, but in the process, I reversed the partition and offset values, and commitAsync,then I found using the command "bin/kafka-consumer-groups --bootstrap-server Kafka01:9092 --group my_consumer_name -- description" is pending.

I print log use "adminClient.listGroupOffsets" ,And I found a log like <Topic, Partition> / <MyTopic, 78908765> .

In this case, what should I do? I expect to delete the wrong information under consumer group, but I haven't found the right way. My version of Kafka is 1.0.0.

 


```

AdminClient adminClient = AdminClient.createSimplePlaintext("bootstrap_servers");
scala.collection.immutable.Map<TopicPartition, Object> offsets = adminClient.listGroupOffsets("my_consumer_name");
JavaConversions.asJavaCollection(offsets.keySet()).forEach(tp-> System.out.println(tp

 

log just like

MyTopic, 78908765

```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)