|
@@ -421,12 +421,6 @@ func (child *partitionConsumer) AsyncClose() {
|
|
|
func (child *partitionConsumer) Close() error {
|
|
func (child *partitionConsumer) Close() error {
|
|
|
child.AsyncClose()
|
|
child.AsyncClose()
|
|
|
|
|
|
|
|
- go withRecover(func() {
|
|
|
|
|
- for range child.messages {
|
|
|
|
|
- // drain
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
-
|
|
|
|
|
var errors ConsumerErrors
|
|
var errors ConsumerErrors
|
|
|
for err := range child.errors {
|
|
for err := range child.errors {
|
|
|
errors = append(errors, err)
|
|
errors = append(errors, err)
|