[
https://issues.apache.org/jira/browse/STORM-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Kellogg updated STORM-9:
-----------------------------
Component/s: storm-core
> Add test utilities for Trident topology
> ---------------------------------------
>
> Key: STORM-9
> URL: https://issues.apache.org/jira/browse/STORM-9
> Project: Apache Storm
> Issue Type: Improvement
> Components: storm-core
> Reporter: James Xu
> Priority: Minor
>
> For raw storm topology, we have backtype.storm.Testing, so can mock a spout
> like this:
> MockedSources mockedSources = new MockedSources();
> mockedSources.addMockData("1", new Values("nathan"),
> new Values("bob"), new Values("joey"), new Values("nathan"));
> the first argument of addMockData is the id of the spout to be mocked, while
> in trident, the id of spout is not specified by developer, it is
> auto-generated by trident, so we need utilities to mock spout for trident.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)