Skip to content

Commit

Permalink
Merge pull request #81 from julien-lecomte/patch-1
Browse files Browse the repository at this point in the history
producer/consumer typo/inversion
  • Loading branch information
edenhill authored Dec 9, 2016
2 parents 20a02ef + 701496f commit 0a2dd68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafkacat.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ static void kafkaconsumer_run (FILE *fp, char *const *topics, int topic_cnt) {
/* Create consumer */
if (!(conf.rk = rd_kafka_new(RD_KAFKA_CONSUMER, conf.rk_conf,
errstr, sizeof(errstr))))
FATAL("Failed to create producer: %s", errstr);
FATAL("Failed to create consumer: %s", errstr);
conf.rk_conf = NULL;

/* Forward main event queue to consumer queue so we can
Expand Down

0 comments on commit 0a2dd68

Please sign in to comment.