Open mzbyszynski opened 9 years ago
Personally, I like the idea of being able to plug custom java classes to a pyleus topology. I guess we should also have the possibility to pass configuration parameters directly to the plugin, similarly to what we do with the KafkaSpout.
Hello!
Awesome framework! I've really enjoyed hacking around with it so far so thank you for that!
I'm working on integrating a new pyleus topology into an existing application that receives input from amqp. It would be great to have a way to add the storm-amqp spout (and/or others) to a pyleus topology the way that the kafka spout is supported.
I was thinking of being able to add something like this to the pyleus.conf:
and that referenced class
com.my.custom.AMQPSpoutProvider
extending some interface like:and would probably look a lot like the
handleKafkaSpout()
method inPyleusTopologyBuilder
.If this seems like something that you would like to include in your project I would be stoked to submit a PR as a first draft...