Closed arinto closed 9 years ago
Makes sense. This would be very useful, once you get it working, we would love a pull request.
On Oct 15, 2014, at 2:36 AM, Arinto Murdopo notifications@github.com wrote:
The io.latent.storm.rabbitmq.RabbitMQSpout class doesn't override BaseRichSpout activate and deactivate methods.
Here's my proposal
activate method will contains these code snippet:
@Override public void activate() { scheme.open(topoConfig, topoContext); consumer.open(); super.activate(); } We will cache topoConfig and topoContext from the open method.
deactivate method is following @Override public void deactivate() { consumer.close(); scheme.close(); super.deactivate(); } I'll update this issue with my code in my development branch once it finishes
— Reply to this email directly or view it on GitHub.
Closed by 0e438a383cd2187c66a94f933861a85663fd5eed
The
io.latent.storm.rabbitmq.RabbitMQSpout
class doesn't overrideBaseRichSpout
activate and deactivate methods.Here's my proposal
activate
method is following:We will cache
topoConfig
andtopoContext
from theopen
method.deactivate
method is following:I'll update this issue with my code in my development branch once it finishes