Skip to content

Commit

Permalink
Merge pull request #982 from Shopify/consumer/fix-last-stable-offset
Browse files Browse the repository at this point in the history
consumer: don't check LastStableOffset
  • Loading branch information
eapache authored Nov 20, 2017
2 parents 9ea1af8 + 10f33be commit 0f6b831
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,6 @@ func (child *partitionConsumer) parseRecords(block *FetchResponseBlock) ([]*Cons
} else {
incomplete = true
}

if child.offset > block.LastStableOffset {
// We reached the end of closed transactions
break
}
}

if incomplete || len(messages) == 0 {
Expand Down

0 comments on commit 0f6b831

Please sign in to comment.