Skip to content

Commit

Permalink
correct handle's eventPoll RD_KAFKA_EVENT_DR term
Browse files Browse the repository at this point in the history
  • Loading branch information
zjj authored and edenhill committed Dec 13, 2021
1 parent bf3f642 commit 0475aec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kafka/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ out:
select {
case *ch <- msg:
case <-termChan:
retval = nil
term = true
break out
}

Expand Down

0 comments on commit 0475aec

Please sign in to comment.