Does Kafka support request response messaging

前端 未结 4 1625
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-31 00:05

I am investigating Kafka 9 as a hobby project and completed a few \"Hello World\" type examples.

I have got to thinking about Real World Kafka applications based on

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-31 00:59

    I think you need a well defined shard key of the service that invokes the request. Your request should contain this shard key and the name of the topic where to post response. Also you should create some sort of state machine and when a message regarding your task comes you transition to some state... this would be for strict async design

提交回复
热议问题