Confluent-kafka-dotnet: Support request/response pattern

Created on 14 Sep 2020  路  3Comments  路  Source: confluentinc/confluent-kafka-dotnet

Description

Spring Kafka added support for the Request Reply pattern out-of-the box. Does dotnet kafka support the request-reply pattern?

How to reproduce

https://dzone.com/articles/synchronous-kafka-using-spring-request-reply-1

Checklist

Please provide the following information:

  • [ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
  • [ ] Confluent.Kafka nuget version.
  • [ ] Apache Kafka version.
  • [ ] Client configuration.
  • [ ] Operating system.
  • [ ] Provide logs (with "debug" : "..." as necessary in configuration).
  • [ ] Provide broker log excerpts.
  • [ ] Critical issue.
question

Most helpful comment

The Spring ReplyingTemplate is not partition aware (it only works with a single partition). So it cannot be really used out of the box in production code. It'd be great if we could have the request-reply pattern natively supported by Kafka and Confluent. 馃檹

All 3 comments

We won't add this to Confluent.Kafka. In the future, we may make a higher level library that provides this out of the box, but we don't have near term plans to do so.

Dear @mhowlett, We need really to the Request-Reply pattern, because without this, we can not handle sync REST API by correct and clear way!

Please give high priority to this 馃檹

The Spring ReplyingTemplate is not partition aware (it only works with a single partition). So it cannot be really used out of the box in production code. It'd be great if we could have the request-reply pattern natively supported by Kafka and Confluent. 馃檹

Was this page helpful?
0 / 5 - 0 ratings