Skip to content

Commit

Permalink
fix: close producer on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
German Ramos Garcia committed Jun 2, 2016
1 parent a6ea1b4 commit f3c615c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gopath/src/service/producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ func producer(kafkaService string,
}
producer.Input() <- msg
}
_ = producer.Close()
}

0 comments on commit f3c615c

Please sign in to comment.