How do I view the consumed messages of Kafka in Nifi?

前端 未结 2 558
野的像风
野的像风 2021-01-07 13:21

I have started a Nifi process(Consume Kafka) and connected it to a topic. It is running but I am not able to (don\'t know) where can I view the messages?

2条回答
  •  情歌与酒
    2021-01-07 14:10

    You might need to consume messages --from-beginning if those messages have been consumed before (and therefore offsets have been committed).

    On GetKafka processor, there is a property Auto Offset Reset which should be set to smallest which is the equivalent of --from-beginning in Kafka Console Consumer.

提交回复
热议问题