Skip to content

Commit

Permalink
rdkafka_performance: Count immediate produce() failures as failed mes…
Browse files Browse the repository at this point in the history
…sages too
  • Loading branch information
edenhill committed Jan 1, 2014
1 parent 11b2bef commit d25d782
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/rdkafka_performance.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ int main (int argc, char **argv) {
strerror(errno),
errno == ENOBUFS ?
" (backpressure)":"");
msgs_failed++;
cnt.tx_err++;
if (errno != ENOBUFS) {
run = 0;
Expand Down

0 comments on commit d25d782

Please sign in to comment.