For sse, not only by user id but session id?
Okay no, we should inject the session id into ctx, passing down. And the later, we should take the session out from ctx, publish to outbox. The metadata got back from event handler...
And, we shouldn't add user id in metadata of the domain event message, only domain event contains it enough. The user id metadata will be replaced by session id
Does watermill passing metadata down to handler via ctx?
For sse, not only by user id but session id?
Okay no, we should inject the session id into ctx, passing down. And the later, we should take the session out from ctx, publish to outbox. The metadata got back from event handler...
And, we shouldn't add user id in metadata of the domain event message, only domain event contains it enough. The user id metadata will be replaced by session id
Does watermill passing metadata down to handler via ctx?