You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2015/11/19 23:24:11 UTC

[jira] [Created] (STORM-1221) Create a common interface for all Trident spout

Haohui Mai created STORM-1221:
---------------------------------

             Summary: Create a common interface for all Trident spout
                 Key: STORM-1221
                 URL: https://issues.apache.org/jira/browse/STORM-1221
             Project: Apache Storm
          Issue Type: Bug
            Reporter: Haohui Mai
            Assignee: Haohui Mai


Currently {{IBatchSpout}}, {{IOpaquePartitionSpout}}}, {{ITridentSpout}} and {{IPartitionedSpout}} are all top-level interfaces. The lowest common ancestor of their parent interface is {{Serializable}}. There is no clear, single interface in Trident to mark these class are spouts / data sources. The abstraction is beneficial when components on top of Trident (e.g. StormSQL) need a notion of data source.

This jira proposes to tags all the spouts above with a common marker interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)