Support Questions

Find answers, ask questions, and share your expertise

How to delete __consumer_offsets and recreate?

avatar
Contributor

Hi,

How can i delete __consumer_offsetsnd recreate it? Among the 50 partitions, morethan half are outoff sync. And i dont need any data from the existing topics.

2 REPLIES 2

avatar
Contributor

Only brokers 1002 and 1005 are available.. Others are old brokers which were decommissioned.

Topic: __consumer_offsets Partition: 0 Leader: -1 Replicas: 33,1005,30 Isr: 30 Topic: __consumer_offsets Partition: 1 Leader: -1 Replicas: 1002,30,32 Isr: 30 Topic: __consumer_offsets Partition: 2 Leader: -1 Replicas: 1005,32,33 Isr: 32 Topic: __consumer_offsets Partition: 3 Leader: -1 Replicas: 30,33,1002 Isr: 30 Topic: __consumer_offsets Partition: 4 Leader: -1 Replicas: 32,1002,1005 Isr: 32 Topic: __consumer_offsets Partition: 5 Leader: -1 Replicas: 33,30,32 Isr: 32 Topic: __consumer_offsets Partition: 6 Leader: -1 Replicas: 1002,32,33 Isr: 32 Topic: __consumer_offsets Partition: 8 Leader: -1 Replicas: 30,1002,1005 Isr: 30 Topic: __consumer_offsets Partition: 9 Leader: -1 Replicas: 32,1005,30 Isr: 30 Topic: __consumer_offsets Partition: 10 Leader: -1 Replicas: 33,32,1002 Isr: 32 Topic: __consumer_offsets Partition: 12 Leader: -1 Replicas: 1005,1002,30 Isr: 30 Topic: __consumer_offsets Partition: 13 Leader: -1 Replicas: 30,1005,32 Isr: 30 Topic: __consumer_offsets Partition: 14 Leader: -1 Replicas: 32,30,33 Isr: 30 Topic: __consumer_offsets Partition: 16 Leader: -1 Replicas: 1002,1005,30 Isr: 30 Topic: __consumer_offsets Partition: 17 Leader: -1 Replicas: 1005,30,32 Isr: 30 Topic: __consumer_offsets Partition: 18 Leader: -1 Replicas: 30,32,33 Isr: 32 Topic: __consumer_offsets Partition: 19 Leader: -1 Replicas: 32,33,1002 Isr: 32 Topic: __consumer_offsets Partition: 20 Leader: -1 Replicas: 33,1005,30 Isr: 30 Topic: __consumer_offsets Partition: 21 Leader: -1 Replicas: 1002,30,32 Isr: 32 Topic: __consumer_offsets Partition: 22 Leader: -1 Replicas: 1005,32,33 Isr: 32 Topic: __consumer_offsets Partition: 23 Leader: -1 Replicas: 30,33,1002 Isr: 30 Topic: __consumer_offsets Partition: 24 Leader: -1 Replicas: 32,1002,1005 Isr: 32 Topic: __consumer_offsets Partition: 25 Leader: -1 Replicas: 33,30,32 Isr: 30 Topic: __consumer_offsets Partition: 26 Leader: -1 Replicas: 1002,32,33 Isr: 32 Topic: __consumer_offsets Partition: 28 Leader: -1 Replicas: 30,1002,1005 Isr: 30 Topic: __consumer_offsets Partition: 29 Leader: -1 Replicas: 32,1005,30 Isr: 30 Topic: __consumer_offsets Partition: 30 Leader: -1 Replicas: 33,32,1002 Isr: 32 Topic: __consumer_offsets Partition: 32 Leader: -1 Replicas: 1005,1002,30 Isr: 30 Topic: __consumer_offsets Partition: 33 Leader: -1 Replicas: 30,1005,32 Isr: 32 Topic: __consumer_offsets Partition: 34 Leader: -1 Replicas: 32,30,33 Isr: 30 Topic: __consumer_offsets Partition: 36 Leader: -1 Replicas: 1002,1005,30 Isr: 30 Topic: __consumer_offsets Partition: 37 Leader: -1 Replicas: 1005,30,32 Isr: 32 Topic: __consumer_offsets Partition: 38 Leader: -1 Replicas: 30,32,33 Isr: 32 Topic: __consumer_offsets Partition: 39 Leader: -1 Replicas: 32,33,1002 Isr: 32 Topic: __consumer_offsets Partition: 40 Leader: -1 Replicas: 33,1005,30 Isr: 30 Topic: __consumer_offsets Partition: 41 Leader: -1 Replicas: 1002,30,32 Isr: 30 Topic: __consumer_offsets Partition: 42 Leader: -1 Replicas: 1005,32,33 Isr: 32 Topic: __consumer_offsets Partition: 43 Leader: -1 Replicas: 30,33,1002 Isr: 30 Topic: __consumer_offsets Partition: 44 Leader: -1 Replicas: 32,1002,1005 Isr: 32 Topic: __consumer_offsets Partition: 45 Leader: -1 Replicas: 33,30,32 Isr: 30 Topic: __consumer_offsets Partition: 46 Leader: -1 Replicas: 1002,32,33 Isr: 32 Topic: __consumer_offsets Partition: 48 Leader: -1 Replicas: 30,1002,1005 Isr: 30 Topic: __consumer_offsets Partition: 49 Leader: -1 Replicas: 32,1005,30 Isr: 30

avatar
Contributor

I had to clean my zookeeper data directory and recreate the __consumer_offsets topic