|
|
@@ -221,8 +221,6 @@ func (c *consumerGroup) newSession(ctx context.Context, topics []string, handler
|
|
|
return nil, join.Err
|
|
|
}
|
|
|
|
|
|
- _ = coordinator.Close()
|
|
|
-
|
|
|
return c.retryNewSession(ctx, topics, handler, retries, true)
|
|
|
case ErrRebalanceInProgress: // retry after backoff
|
|
|
if retries <= 0 {
|
|
|
@@ -264,8 +262,6 @@ func (c *consumerGroup) newSession(ctx context.Context, topics []string, handler
|
|
|
return nil, sync.Err
|
|
|
}
|
|
|
|
|
|
- _ = coordinator.Close()
|
|
|
-
|
|
|
return c.retryNewSession(ctx, topics, handler, retries, true)
|
|
|
case ErrRebalanceInProgress: // retry after backoff
|
|
|
if retries <= 0 {
|