Skip to content

Commit

Permalink
Comment decommission of the producer
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Oct 1, 2021
1 parent b16090f commit ba6c12c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func TestChannelBasedProducer(t *testing.T) {
break
}
}
// Decommission the producer, ensure it is not used anymore.
p.Close()

recv := consumeMessage(t, kafka.TopicPartition{
Expand Down Expand Up @@ -234,6 +235,7 @@ func TestFunctionBasedProducer(t *testing.T) {
break
}
}
// Decommission the producer, ensure it is not used anymore.
p.Close()

recv := consumeMessage(t, kafka.TopicPartition{
Expand Down

0 comments on commit ba6c12c

Please sign in to comment.