Is it possible to get exactly once processing with Spring Cloud Stream?

自作多情 提交于 2019-12-25 01:50:26

问题


Currently I'm using SCS with almost default configuration for sending and receiving message between microservices. Somehow I've read this
https://www.confluent.io/blog/enabling-exactly-kafka-streams

and wonder that it is gonna works or not if we just put the property called "processing.guarantee" with value "exactly-once" there through properties in Spring boot application ?


回答1:


In the context of your question you should look at Spring Cloud Stream as just a delegate between target system (e.g., Kafka) and your code. The binders that enable such delegation are usually implemented in such way that they propagate whatever functionality supported by the target system.



来源:https://stackoverflow.com/questions/54211885/is-it-possible-to-get-exactly-once-processing-with-spring-cloud-stream

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!