Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vapukov
Master II
Master II

Talend ESB 6.2.1 - kafka cMessageEndpoint errors

Hello,
I have a few Jobs in Talent Open Studio for BigData connecting with kafka - everything fine and stable
as well - few routes with ActiveMQ and RabbitMQ in Talent ESB
But when I try to create new route for use same principles (and same connection details) with kafka - I have error:
"Exception in thread "main" java.lang.NoClassDefFoundError: scala/Product
at java.lang.ClassLoader.defineClass1(Native Method) ... "

URI - "kafka:192.168.20.107:9092?topic=t1&zookeeperHost=192.168.20.107&zookeeperPort=2181&groupId=uwr1"
component cKafka work, but unstable - can read portions of messages, than freeze (may be it settings problem, now I looking for other error)
Would be thankful for any ideas for check
Best regards, Vlad 0683p000009MBhT.png
Labels (3)
9 Replies
Anonymous
Not applicable

Hi,
What does your new route look like? Could you please show us your component setting screenshot which will be helpful for us to address your issue?
Best regards
Sabrina
vapukov
Master II
Master II
Author

Hi,
What does your new route look like? Could you please show us your component setting screenshot which will be helpful for us to address your issue?
Best regards
Sabrina

Hi Sabrina,
All in original message, but screenshots attached
and consumer and producer work fine with Kafka from Open Studio Big Data, but not from ESB
0683p000009MBhU.png  0683p000009MBhd.png 0683p000009MBfw.png   0683p000009MBi6.png
vapukov
Master II
Master II
Author

if use dedicated Kafka component in ESB - it work, but:
1) only once - if route started after producer
2) not always receive all messages
3) no visible errors, but job or work or not, and never not work for new messages coming after start
0683p000009MBiB.png
Anonymous
Not applicable

Hi I can's see cMessageEndpoint in ESP Open Studio, neither in Data Integrator. 
Appreciate if you guide me on how to get these additional components.

-Regards
vapukov
Master II
Master II
Author

Hi I can's see cMessageEndpoint in ESP Open Studio, neither in Data Integrator. 
Appreciate if you guide me on how to get these additional components.

-Regards

it's name - cMessagingEndpoint and it part of Talend Open Studio for ESB when You create new route
vapukov
Master II
Master II
Author

by the way - I not resolve this problem, and as solution was chosen ActiveMQ as much stable 
difference in performance on our tasks not so critical
will have plan re-test it in feature, with 1.0. 
Anonymous
Not applicable

@palas - you need to switch to Mediation view in Talend Studio
@vapukov - It would be really helpful if you raise a bug about this and attach complete testing project as well.
On the other hand, from the message you have it looks quite clear that you are missing scala lib in your path. So either you didn't downloaded all dependencies for the component, or you have some buggy studio version (you can recompile from source yourself).
It is something related to:
 <dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>xxx</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-xml</artifactId>
<version>xxx</version>
</dependency>


Could be caused by version bump as well.
Anonymous
Not applicable

Thanks @vapukov
I found it in Routes .
Now I am facing some issue:
My connection string is
"rabbitmq://'104.199.xxx.xxx:5672/amq.fanout?username=user&password=password&vhost=/&queue=test_queue&connectionTimeout=300"
I tied variation without vhost and connectionTimeout.
But, always same error:
Starting job RabbitMQ_Consumer1 at 23:42 06/03/2017.

connecting to socket on port 3649

connected
Failed to create route RabbitMQ_Consumer1_cMessagingEndpoint_1: Route(RabbitMQ_Consumer1_cMessagingEndpoint_1)
 
0683p000009MBiG.png
vapukov
Master II
Master II
Author

generally - this topic about Kafka 🙂 and anybody will try to open is Kafka related
if You have problem with RabbitMQ - open (or add to old) related to RabbitMQ
by the way in Your case - all in error text:
"rabbitmq://'104.199.xxx.xxx:5672/amq.fanout?username=user&password=password&vhost=/&queue=test_queue&connectionTimeout=300"

 Failed to resolve endpoint: rabbitmq://'104
You have wrong character in address - '