You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by roman vir <ro...@gmail.com> on 2020/06/12 17:33:02 UTC

request-reply model

Hi

anyone has instructions for setting up request-reply messaging using kafka?

thanks 

Re: request-reply model

Posted by roman vir <ro...@gmail.com>.
Thanks.

any links for

1. request-reply model setup on unix and cloud?
2. pub-sub model setup?

Thanks
Roman

> On Jun 12, 2020, at 6:29 PM, Ricardo Ferreira <ri...@riferrei.com> wrote:
> 
> 
> Roman,
> 
> If you are implementing this in Java and use the Spring Framework then there is a good support in there that abstracts away much of the complexity related to correlate requests and responses. Here is an article that gives an example of how to implement this:
> 
> https://asbnotebook.com/2020/01/05/synchronous-request-reply-using-apache-kafka-spring-boot/
> 
> To learn more about this support in Spring, here is the link:
> 
> https://docs.spring.io/spring-kafka/reference/html/#replying-template
> 
> Thanks,
> 
> -- Ricardo
> 
>> On 6/12/20 1:33 PM, roman vir wrote:
>> Hi
>> 
>> anyone has instructions for setting up request-reply messaging using kafka?
>> 
>> thanks 

Re: request-reply model

Posted by Ricardo Ferreira <ri...@riferrei.com>.
Roman,

If you are implementing this in Java and use the Spring Framework then 
there is a good support in there that abstracts away much of the 
complexity related to correlate requests and responses. Here is an 
article that gives an example of how to implement this:

https://asbnotebook.com/2020/01/05/synchronous-request-reply-using-apache-kafka-spring-boot/

To learn more about this support in Spring, here is the link:

https://docs.spring.io/spring-kafka/reference/html/#replying-template

Thanks,

-- Ricardo

On 6/12/20 1:33 PM, roman vir wrote:
> Hi
>
> anyone has instructions for setting up request-reply messaging using kafka?
>
> thanks