Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public SpoutDeclarer setSpout(String id, ITransactionSpoutExecutor spout, Number
}

public SpoutDeclarer setSpout(String id, ITransactionSpoutExecutor spout, Number parallelismHint, boolean isSchedule) {
return setSpout(id, spout, parallelismHint, isSchedule);
return setSpout(id, (IRichSpout) spout, parallelismHint, isSchedule);
}

private SpoutDeclarer setSpout(String id, IRichSpout spout, Number parallelismHint, boolean isSchedule) {
Expand Down Expand Up @@ -124,7 +124,7 @@ public BoltDeclarer setBolt(String id, ITransactionBoltExecutor bolt) {
}

public BoltDeclarer setBolt(String id, ITransactionBoltExecutor bolt, Number parallelismHint) {
return setBolt(id, bolt, parallelismHint);
return setBolt(id, (IRichBolt) bolt, parallelismHint);
}

@Override
Expand Down Expand Up @@ -210,4 +210,4 @@ protected BoltDeclarer grouping(String componentId, String streamId, Grouping gr
return super.grouping(componentId, streamId, grouping);
}
}
}
}