Commit f1ba712
Senrian
[ISSUE apache#10114] Add removeOffsetByTopicAndGroup method for precise consumer offset cleanup
This commit adds a new method removeOffsetByTopicAndGroup() to ConsumerOffsetManager
that allows users to precisely clean up consumer offset for a specific topic under
a specific consumer group, without removing the entire group or topic.
This addresses the enhancement request in issue apache#10114 where users need the ability
to precisely clean up the consumer offset for a specific topic under a specific
consumer group when a consumer group subscribes to an unintended topic by mistake.
Signed-off-by: Senrian <senrian@github.com>1 parent 628230d commit f1ba712
1 file changed
Lines changed: 22 additions & 0 deletions
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
106 | 128 | | |
107 | 129 | | |
108 | 130 | | |
| |||
0 commit comments