Re: Subscribing to Aurora's tasks' event changes

2016-04-25 Thread David McLaughlin
+1 for webhooks. On Mon, Apr 25, 2016 at 7:18 PM, John Sirois wrote: > On Mon, Apr 25, 2016 at 8:15 PM, John Sirois > wrote: > > > > > > > On Mon, Apr 25, 2016 at 7:58 PM, Bill Farner wrote: > > > >> I don't have a firm example in mind, I just don't think the approach > >> recommended by Zamee

Re: Subscribing to Aurora's tasks' event changes

2016-04-25 Thread John Sirois
On Mon, Apr 25, 2016 at 8:15 PM, John Sirois wrote: > > > On Mon, Apr 25, 2016 at 7:58 PM, Bill Farner wrote: > >> I don't have a firm example in mind, I just don't think the approach >> recommended by Zameer is optimal. It's only marginally better than >> forking >> (and probably requires you

Re: Subscribing to Aurora's tasks' event changes

2016-04-25 Thread John Sirois
On Mon, Apr 25, 2016 at 7:58 PM, Bill Farner wrote: > I don't have a firm example in mind, I just don't think the approach > recommended by Zameer is optimal. It's only marginally better than forking > (and probably requires you to fork for the sake of sanity). > > Thinking out loud, it would be

Re: Subscribing to Aurora's tasks' event changes

2016-04-25 Thread Bill Farner
I don't have a firm example in mind, I just don't think the approach recommended by Zameer is optimal. It's only marginally better than forking (and probably requires you to fork for the sake of sanity). Thinking out loud, it would be nice if Kafka had a JMS interface/bridge, as it would allow us

Jenkins build is back to normal : aurora-packaging-nightly #282

2016-04-25 Thread Apache Jenkins Server
See

Re: Subscribing to Aurora's tasks' event changes

2016-04-25 Thread Dmitriy Shirchenko
@wfarner Can you help me out and clarify what you mean by 'First-class mechanism'? An example would be awesome. On Mon, Apr 25, 2016 at 4:40 PM Dmitriy Shirchenko wrote: > Has anyone built something that can subscribe to events and then send them > to a pub/sub system? Maybe can give pointers o

Re: Subscribing to Aurora's tasks' event changes

2016-04-25 Thread Bill Farner
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 wrote: > I think a good approach to take would be to have `PubsubEventModule` take > modules as an arg like `HttpSecurityModule`. Th

Re: Subscribing to Aurora's tasks' event changes

2016-04-25 Thread Zameer Manji
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

Subscribing to Aurora's tasks' event changes

2016-04-25 Thread Dmitriy Shirchenko
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!

Build failed in Jenkins: aurora-packaging-nightly #281

2016-04-25 Thread Apache Jenkins Server
See -- [...truncated 32455 lines...] 35100K .. .. .. .. .. 76% 106M 1s 35150K .. .. .. .. .. 76% 85.4M 1s 35200K

Build failed in Jenkins: aurora-packaging-nightly #280

2016-04-25 Thread Apache Jenkins Server
See -- [...truncated 30728 lines...] Selecting previously unselected package gconf2. Preparing to unpack .../gconf2_3.2.6-0ubuntu2_amd64.deb ... Unpacking gconf2 (3.2.6-0ubuntu2) ... Selecting pre

Re: Build failed in Jenkins: aurora-packaging-nightly #279

2016-04-25 Thread John Sirois
For anybody watching these - I'm actively working the current aurora-packaging-nightly jenkins job issues here: https://issues.apache.org/jira/browse/AURORA-1682 Past the 1st issue building rpms and maybe onto this second issue below. I'll try to have this fixed up in the next 24 hours. On Mon, Ap

Build failed in Jenkins: aurora-packaging-nightly #279

2016-04-25 Thread Apache Jenkins Server
See -- [...truncated 36383 lines...] 35100K ...... .. ...... .. ...... 76% 110M 0s 35150K ..

Build failed in Jenkins: aurora-packaging-nightly #278

2016-04-25 Thread Apache Jenkins Server
See -- Started by timer [EnvInject] - Loading node environment variables. Building remotely on H11 (docker Ubuntu ubuntu yahoo-not-h2) in workspace

Build failed in Jenkins: aurora-packaging-nightly #277

2016-04-25 Thread Apache Jenkins Server
See -- [...truncated 1995 lines...] -rw-rw-r-- root/root 790 2016-04-22 22:43 apache-aurora-0.13.1snapshot.2016.04.25/src/test/python/apache/aurora/client/cli/BUILD -rw-rw-r-- root/root