docker / go-events

Composable event distribution for Go
Apache License 2.0
133 stars 23 forks source link

Add round-robin sink #28

Open Adirio opened 6 years ago

Adirio commented 6 years ago

Add round-robin sink that will split the events among the destiny sinks evenly.

If there is no sink ErrNoSink is returned. It is useful as an event load balancer. It could be chained with #27 so that new pipelines are added when an ErrSinkTimeout occurs to increase concurrency.