docker / go-events

Composable event distribution for Go
Apache License 2.0
131 stars 22 forks source link

Add Listeners to let users update metrics on Ingress/Egress of events #24

Closed halcyonCorsair closed 6 years ago

halcyonCorsair commented 6 years ago

This will allow the registry to use queue from this package, per docker/distribution#1553 and docker/distribution#2550.

stevvooe commented 6 years ago

@halcyonCorsair When I looked at this problem, I was trying to make an abstraction that would allow one to "tap" either end of the sink with a listener, decoupling this from the queue. Do you think that is possible here or is this model both complete and sufficient?

halcyonCorsair commented 6 years ago

Closing in favor of #25