Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2658

Provide storm-kafka-client spout examples

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0, 1.1.1
    • 2.0.0
    • examples
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              srdo Stig Rohde Døssing
              srdo Stig Rohde Døssing
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h