Skip to content

Commit

Permalink
Skip clean subscriptions when parsing responses
Browse files Browse the repository at this point in the history
  • Loading branch information
eapache committed Aug 17, 2015
1 parent 8ec44fb commit fa444e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions offset_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,10 @@ func (bom *brokerOffsetManager) flushToBroker() {
}

for s := range bom.subscriptions {
if request.blocks[s.topic] == nil || request.blocks[s.topic][s.partition] == nil {
continue
}

var err KError
var ok bool

Expand Down

0 comments on commit fa444e4

Please sign in to comment.