Is it possible that we can connect an external gRPC client and subscribe it to event types the same way internal event handlers are subscribed via the eventbus ?
I saw the example with authClient being called from user event handler but this is injected and used from the service container.
Is it possible that we can connect an external gRPC client and subscribe it to event types the same way internal event handlers are subscribed via the eventbus ?
I saw the example with authClient being called from user event handler but this is injected and used from the service container.
https://github.com/vardius/go-api-boilerplate/blob/master/cmd/user/internal/application/eventhandler/when_user_access_token_was_requested.go
https://github.com/vardius/go-api-boilerplate/blob/9eb29c7fde062c9e99ec7dfcb36b8c536b1e2e8c/cmd/user/internal/domain/init.go#L65
Can we connect to external client in place where container.AuthClient is ?