Symptom
- The SDS project is using the Kafka String Input Adapter to accept string values from a Kafka Producer.
- The project deployed successfully.
- However, when sending some input string in the Kafka Producer, it is observed that:
- The project's input stream does not receive any data from the Kafka input adapter.
- The project's standard streams log file (streamingserver~<workspace-name>.<project-name>.<project-instance-number>~_<machine-hostname>.<cluster-node-rpc-port>.<log-serial-number>.out) reports:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/kafka/clients/consumer/KafkaConsumer
at com.sybase.esp.adapter.transporters.kafka.KafkaInputTransporter.init(KafkaInputTransporter.java:279)
at com.sybase.esp.adapter.framework.wrappers.TransporterWrapper.init(TransporterWrapper.java:61)
at com.sybase.esp.adapter.framework.internal.Adapter.init(Adapter.java:216)
at com.sybase.esp.adapter.framework.internal.AdapterController.executeStart(AdapterController.java:257)
at com.sybase.esp.adapter.framework.internal.AdapterController.execute(AdapterController.java:156)
at com.sybase.esp.adapter.framework.Framework.main(Framework.java:62)
Caused by: java.lang.ClassNotFoundException: org.apache.kafka.clients.consumer.KafkaConsumer
at java.net.URLClassLoader$1.run(URLClassLoader.java:435)
at java.net.URLClassLoader$1.run(URLClassLoader.java:424)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:493)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:351)
at java.lang.ClassLoader.loadClass(ClassLoader.java:426)
... 6 more
Read more...
Environment
SAP HANA Smart Data Streaming (SDS) 1.0 SP12 Rev122 PL07
Product
Keywords
streaming, processing, kafka-clients-0.9.0.0.jar, client, jar , KBA , BC-SYB-ESP , Sybase ESP (Event Stream Processor) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.