Fwiw I would favor a first-class mechanism instead. I think pointing to auth modules as a successful pattern is a mistake.
On Monday, April 25, 2016, Zameer Manji <zma...@apache.org> wrote: > I think a good approach to take would be to have `PubsubEventModule` take > modules as an arg like `HttpSecurityModule`. Those modules can create > instances of `EventSubscriber` and those subscribers can consume the events > you desire and do whatever you want. > > I think this is a low touch approach that is flexible and aligned with how > we do other things. > > On Mon, Apr 25, 2016 at 4:40 PM, Dmitriy Shirchenko <cald...@gmail.com > <javascript:;>> > wrote: > > > Has anyone built something that can subscribe to events and then send > them > > to a pub/sub system? Maybe can give pointers on how you would approach > > this? > > > > Our use case is sending TaskStateChange`s into an internal Kafka topic. > > > > Thanks! > > > > -- > > Zameer Manji > > > > >