forked from nathanmarz/storm-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:nathanmarz/storm-contrib
- Loading branch information
Showing
1 changed file
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
|
||
import backtype.storm.spout.SpoutOutputCollector; | ||
import backtype.storm.task.TopologyContext; | ||
import backtype.storm.topology.IRichSpout; | ||
import backtype.storm.topology.base.BaseRichSpout; | ||
import backtype.storm.utils.Utils; | ||
|
||
/** | ||
|
@@ -51,7 +51,7 @@ | |
* @author Adrian Petrescu <[email protected]> | ||
* | ||
*/ | ||
public abstract class SqsQueueSpout implements IRichSpout { | ||
public abstract class SqsQueueSpout extends BaseRichSpout { | ||
private SpoutOutputCollector collector; | ||
private AmazonSQSAsync sqs; | ||
|
||
|
@@ -177,9 +177,4 @@ public void close() { | |
((AmazonSQSAsyncClient) sqs).getExecutorService().shutdownNow(); | ||
} | ||
|
||
@Override | ||
public boolean isDistributed() { | ||
return false; | ||
} | ||
|
||
} |