Skip to content

Commit

Permalink
Clean Up Code
Browse files Browse the repository at this point in the history
Signed-off-by: kennyaz <[email protected]>
  • Loading branch information
kennyaz committed Jul 14, 2023
1 parent d23a9ae commit d54cb26
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/ingester/app/consumer/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
package consumer

import (
"fmt"
"sync"
"time"

Expand Down Expand Up @@ -97,9 +96,7 @@ func (c *Consumer) Start() {
func (c *Consumer) Close() error {
// Close the internal consumer, which will close each partition consumers' message and error channels.
c.logger.Info("Closing parent consumer")
// close(c.internalConsumer.Partitions())
err := c.internalConsumer.Close()
fmt.Println(err)

c.logger.Debug("Closing deadlock detector")
c.deadlockDetector.close()
Expand Down

0 comments on commit d54cb26

Please sign in to comment.