Skip to content

Commit 6bcd3bb

Browse files
author
Nathan Marz
committed
deprecate richbolt interface for drpc
1 parent a18a51f commit 6bcd3bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/jvm/backtype/storm/drpc/LinearDRPCTopologyBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,14 @@ public LinearDRPCInputDeclarer addBolt(IBatchBolt bolt) {
4545
return addBolt(bolt, 1);
4646
}
4747

48+
@Deprecated
4849
public LinearDRPCInputDeclarer addBolt(IRichBolt bolt, int parallelism) {
4950
Component component = new Component(bolt, parallelism);
5051
_components.add(component);
5152
return new InputDeclarerImpl(component);
5253
}
5354

55+
@Deprecated
5456
public LinearDRPCInputDeclarer addBolt(IRichBolt bolt) {
5557
return addBolt(bolt, 1);
5658
}

0 commit comments

Comments
 (0)