Skip to content

Commit

Permalink
in_kafka: fix typo of debug log
Browse files Browse the repository at this point in the history
Signed-off-by: luoyy8 <[email protected]>
  • Loading branch information
luoyy8 committed Dec 15, 2024
1 parent 0c03af9 commit e97c5e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/in_kafka/in_kafka.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,14 @@ static int in_kafka_collect(struct flb_input_instance *ins,
flb_plg_debug(ins, "kafka message received");

ret = process_message(ctx, rkm);
flb_plg_debug(ins,
"encode kafka message error, \

if (ret == FLB_EVENT_ENCODER_SUCCESS) {
flb_plg_debug(ins,
"parsed kafka message, \
topic: %s, offset: %s, partition: %s\n",
rd_kafka_topic_name(rkm -> rkt),
rkm->offset,
rkm->partition);
if (ret == FLB_EVENT_ENCODER_SUCCESS) {
if ( ctx -> auto_commit ) {
rd_kafka_offset_store_message(rkm);
}
Expand Down

0 comments on commit e97c5e0

Please sign in to comment.