Re: Allow user-specified class-loader

2016-02-11 Thread Rick Mangi
This is why we went the route of using clojure from the start and not calling out to clojure from a java task. > On Feb 10, 2016, at 9:11 PM, Andy Chambers > wrote: > > Have you figured out a workflow where you can run jobs from rhe repl during > development? signature.asc Description: Mes

Re: Allow user-specified class-loader

2016-02-11 Thread Yi Pan
Hi, Andy, Great! Looking forward to your uploads! -Yi On Wed, Feb 10, 2016 at 6:02 PM, Andy Chambers < andy.chamb...@fundingcircle.com> wrote: > We will release some open source when it's ready but the basic idea is to > define a single task that implements all the interfaces, and have that > d

Re: Allow user-specified class-loader

2016-02-10 Thread Andy Chambers
Have you figured out a workflow where you can run jobs from rhe repl during development?

Re: Allow user-specified class-loader

2016-02-10 Thread Andy Chambers
We will release some open source when it's ready but the basic idea is to define a single task that implements all the interfaces, and have that delegate to clojure handlers. On Feb 10, 2016 4:39 PM, "Jacob Maes" wrote: > Hey Andy, > > That's good news! Do you mind sharing the revelation for any

Re: Allow user-specified class-loader

2016-02-10 Thread rick
Why aren't you just writing samza tasks directly in clojure using gen-class and implementing the samza interfaces? Works great for us. Much simpler. > On Feb 10, 2016, at 7:39 PM, Jacob Maes wrote: > > Hey Andy, > > That's good news! Do you mind sharing the revelation for any other Samza > use

Re: Allow user-specified class-loader

2016-02-10 Thread Jacob Maes
Hey Andy, That's good news! Do you mind sharing the revelation for any other Samza users in Clojure-land? -Jake On Wed, Feb 10, 2016 at 4:07 PM, Andy Chambers < andy.chamb...@fundingcircle.com> wrote: > My co-worker has figured out how to do this without any changes required in > samza. > Andy

Re: Allow user-specified class-loader

2016-02-10 Thread Andy Chambers
My co-worker has figured out how to do this without any changes required in samza. Andy Chambers | Full-Stack Software Developer andy.chamb...@fundingcircle.com | 707-205-6502 (m) 747 Front St, 4th Fl | San Francisco, CA 94111 Our Mission: T o build a better financial world Unless speci

Re: Allow user-specified class-loader

2016-02-09 Thread Andy Chambers
No Problem. I'm new to samza so it is entirely possible there's already a way to do this that I'm missing. What I'm aiming for, is to implement the features described in the README of my project https://github.com/cddr/samza-config. For discussion purposes, I'll copy the example here... (ns examp

Re: Allow user-specified class-loader

2016-02-09 Thread Yi Pan
Hi, Andy, Forgive me for my ignorance on the topic of Clojure. Could you give some simple example that Config and Serde Factories are in "Clojure-land" and how would a customized ClassLoader help in this case? Thanks a lot! -Yi On Tue, Feb 9, 2016 at 10:36 PM, Andy Chambers < andy.chamb...@fund

Re: Allow user-specified class-loader

2016-02-09 Thread Andy Chambers
That would help but if I understand it correctly, it would still be necessary to implement things like Config and Serde Factories in Java. It would be nice to stay in "Clojure-land" to implement those too. *Andy Chambers* | Full-Stack Software Developer *andy.chamb...@fundingcircle.com * | 707-20

Re: Allow user-specified class-loader

2016-02-09 Thread Yi Pan
Hi, Andy, I think that you are looking for the feature in SAMZA-697. Or are you looking for something even more specific? On Tue, Feb 9, 2016 at 10:22 PM, Andy Chambers < andy.chamb...@fundingcircle.com> wrote: > Hey Folks, > I'm trying to build some tooling to make writing jobs in Clojure a lit