[
https://issues.apache.org/jira/browse/STORM-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stig Rohde Døssing updated STORM-2658:
--------------------------------------
Description:
There are a few example topologies in storm-kafka-client, but trying them out
as a new user requires you to modify the storm-kafka-client pom to add shading,
then rebuild storm-kafka-client and copy the jar-with-dependencies into Storm's
extlib. After that you can take the test jar and run the topology. I think this
is needlessly complicated.
We should move the example topologies to examples/storm-kafka-client, and make
the storm-kafka-client pom produce a jar with all dependencies. Since we are
only including the example source with Storm distributions, I don't see a
reason to try to minimize jar size at the cost of adding more steps for the
user to try out the examples. storm-starter is a good example of a user
friendly example test topology, since it contains all its dependencies. If we
want to make the user aware that extlib can be used to reduce jar size, we can
add notes and commented out provided scopes to the example pom.
was:
There are a few example topologies in storm-kafka-client, but trying them out
as a new user requires you to modify the storm-kafka-client pom to add shading,
then rebuild storm-kafka-client and copy the jar-with-dependencies into Storm's
extlib. After that you can take the test jar and run the topology. I think this
is needlessly complicated.
We should move the example topologies to examples/storm-kafka-client, and make
the storm-kafka-client pom produce a jar with all dependencies. Since we are
only including the example source with Storm distributions, I don't see a
reason to try to minimize jar size at the cost of adding more steps for the
user to try out the examples. storm-starter is a good example of a user
friendly example test topology, since it contains all its dependencies. If we
want to make the user aware that extlib can be used to reduce jar size, we can
add notes and uncommented provided scopes to the example pom.
> Provide storm-kafka-client spout examples
> -----------------------------------------
>
> Key: STORM-2658
> URL: https://issues.apache.org/jira/browse/STORM-2658
> Project: Apache Storm
> Issue Type: Improvement
> Components: examples
> Reporter: Stig Rohde Døssing
> Assignee: Stig Rohde Døssing
> Priority: Minor
>
> There are a few example topologies in storm-kafka-client, but trying them out
> as a new user requires you to modify the storm-kafka-client pom to add
> shading, then rebuild storm-kafka-client and copy the jar-with-dependencies
> into Storm's extlib. After that you can take the test jar and run the
> topology. I think this is needlessly complicated.
> We should move the example topologies to examples/storm-kafka-client, and
> make the storm-kafka-client pom produce a jar with all dependencies. Since we
> are only including the example source with Storm distributions, I don't see a
> reason to try to minimize jar size at the cost of adding more steps for the
> user to try out the examples. storm-starter is a good example of a user
> friendly example test topology, since it contains all its dependencies. If we
> want to make the user aware that extlib can be used to reduce jar size, we
> can add notes and commented out provided scopes to the example pom.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)