Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EM watch http stream #26

Open
codeliner opened this issue Jan 5, 2018 · 0 comments
Open

EM watch http stream #26

codeliner opened this issue Jan 5, 2018 · 0 comments

Comments

@codeliner
Copy link
Member

Follow up of #22

$eventMachine->watch(Stream::ofService('service_name', 'stream-projection-name'))

Event Machine should use a ServiceResolver to resolve a service_name to a service stream base url
In DEV mode a simple ServiceResolver uses the service name directly and assumes that the service is available within the docker network. In production the service resolver should use Consul/etcd or a registry provided by cloud infra.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant