org.apache.storm.grouping.CustomStreamGrouping Java Examples
The following examples show how to use
org.apache.storm.grouping.CustomStreamGrouping.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Twister2BoltDeclarer.java From twister2 with Apache License 2.0 | 5 votes |
@Override public BoltDeclarer customGrouping(String componentId, String streamId, CustomStreamGrouping grouping) { //todo return this; }
Example #2
Source File: StreamBuilder.java From incubator-heron with Apache License 2.0 | 5 votes |
private CustomStreamGrouping buildCustomStreamGrouping(ObjectDefinition objectDefinition, EcoExecutionContext executionContext, ObjectBuilder objectBuilder) throws ClassNotFoundException, IllegalAccessException, InstantiationException, NoSuchFieldException, InvocationTargetException { Object grouping = objectBuilder.buildObject(objectDefinition, executionContext); return (CustomStreamGrouping) grouping; }
Example #3
Source File: Twister2BoltDeclarer.java From twister2 with Apache License 2.0 | 4 votes |
@Override public BoltDeclarer customGrouping(String componentId, CustomStreamGrouping grouping) { return this.customGrouping(componentId, Utils.getDefaultStream(componentId), grouping); }
Example #4
Source File: CustomBoltDeclarer.java From bullet-storm with Apache License 2.0 | 4 votes |
@Override public BoltDeclarer customGrouping(String componentId, CustomStreamGrouping grouping) { throw new UnsupportedOperationException(); }
Example #5
Source File: CustomBoltDeclarer.java From bullet-storm with Apache License 2.0 | 4 votes |
@Override public BoltDeclarer customGrouping(String componentId, String streamId, CustomStreamGrouping grouping) { throw new UnsupportedOperationException(); }
Example #6
Source File: BoltDeclarerImpl.java From incubator-heron with Apache License 2.0 | 4 votes |
@Override public BoltDeclarer customGrouping(String componentId, CustomStreamGrouping grouping) { return customGrouping(componentId, Utils.DEFAULT_STREAM_ID, grouping); }
Example #7
Source File: BoltDeclarerImpl.java From incubator-heron with Apache License 2.0 | 4 votes |
@Override public BoltDeclarer customGrouping( String componentId, String streamId, CustomStreamGrouping grouping) { delegate.customGrouping(componentId, streamId, new CustomStreamGroupingDelegate(grouping)); return this; }
Example #8
Source File: InputDeclarer.java From twister2 with Apache License 2.0 | votes |
T customGrouping(String componentId, CustomStreamGrouping grouping);
Example #9
Source File: InputDeclarer.java From twister2 with Apache License 2.0 | votes |
T customGrouping(String componentId, String streamId, CustomStreamGrouping grouping);
Example #10
Source File: InputDeclarer.java From incubator-heron with Apache License 2.0 | votes |
T customGrouping(String componentId, CustomStreamGrouping grouping);
Example #11
Source File: InputDeclarer.java From incubator-heron with Apache License 2.0 | votes |
T customGrouping(String componentId, String streamId, CustomStreamGrouping grouping);