Hello All,

Some more updates here..

I checked the "bin/storm classpath" and it is properly referring to kafka
jar file.

But once uber jar is ready I do not see any kafka class inside the jar file
which is generated in target directory. Inside jar there is an empty kafka
folder.

I was expecting it to have all kafka java classes. I think this is the
reason  code is not compiling whenever it refers to kafka package or its
classes.

Any suggestion friends?

Thanks

On Tue, Mar 22, 2016 at 4:12 PM, Neeraj Kumar <[email protected]> wrote:

> I guess I am already using uber jar (shade plugin) in my project.
>
> For more information this is the default pom.xml file which is provided in
> storm starter project.
>
> Still no success. Any suggestion?
>
> Attached is the pom.xml file.
>
> Thanks..
>
> On Tue, Mar 22, 2016 at 3:21 PM, Abhishek Agarwal <[email protected]>
> wrote:
>
>> https://maven.apache.org/plugins/maven-shade-plugin/
>>
>> On Tue, Mar 22, 2016 at 12:46 PM, Neeraj Kumar <[email protected]>
>> wrote:
>>
>>> Hi Abhishek,
>>>
>>> I am sorry I am new to storm and I don't know about uber jar.
>>>
>>> Could you please provide some more information?
>>>
>>> Thanks  for your time.
>>>
>>> Neeraj
>>>
>>>
>>> On Tue, Mar 22, 2016 at 3:11 PM, Abhishek Agarwal <[email protected]>
>>> wrote:
>>>
>>>> why not shade it in your application uber jar?
>>>>
>>>> On Tue, Mar 22, 2016 at 11:25 AM, Neeraj Kumar <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Could somebody let me know how to use storm-kafka-0.10.0.jar file
>>>>> which resides in
>>>>> external directory to storm starter project.
>>>>>
>>>>> I copied the storm-kafka-0.10.0.jar in lib directory of storm but it
>>>>> is not being reference in storm classpath due which I am not able to
>>>>> compile  my code.
>>>>>
>>>>> It always says error "storm.kafka" package doesn't exist.
>>>>>
>>>>> Thanks
>>>>> Neeraj
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Abhishek Agarwal
>>>>
>>>>
>>>
>>
>>
>> --
>> Regards,
>> Abhishek Agarwal
>>
>>
>

Reply via email to