在将“ Kafka Streams Binder”与“ Functional Style”一起使用时,如何从Kafka主题中删除消息

时间:2019-08-21 06:47:34

标签: spring-cloud spring-kafka spring-cloud-stream

当我在https://cloud.spring.io/spring-cloud-static/spring-cloud-stream-binder-kafka/3.0.0.M3/reference/html/spring-cloud-stream-binder-kafka.html#_programming_modelHow to use "Kafka Streams Binder" with "Functional Style" and DI?中使用PATH时,我可以阅读该主题的消息。

但是,当我停止并启动我的应用程序时,消息仍然在主题中。如何使用消息,以便在阅读后将其从主题中删除?任何提示表示赞赏。

0 个答案:

没有答案