Hello,

I would like to use Correlation ID in a microservices REST application but I am 
not sure how the value should be dealt with.

Let say user opened page example.com:80/register?email=n...@example.com
The request received a correlationID="registerRequest:n...@example.com" and was 
passed to microservice A, then to microservice B preserving correlationId.
Service B created a kafka message {id:"n...@example.com"}​. Should it had 
correlationId="registerRequest:n...@example.com" or rather a unique ID?

I understand that correlationId is meant to correlate kafka request and kafka 
response. However it is not clear to me if this should be any way bound to a 
larger meaning of "request handling" and its correlationId.

Thanks in advance for any responses :)
Regards

Reply via email to