How can I make Kafka Producer send message through follow up plugin?
Hi, I am having issues constructing a Kafka producer so I can send a simple Kafka message. I had no issues running the producer via Jetty Debugger running on the JRE bundled with EWM 7.0.2, but when I build the plugin and put it on my local server, I have an issue building the producer. This is the error I receive when I click save to run the followup plugin:
One answer
I would check the log files. I am not sure the error you show is the root cause. It is possible that your custom plugin fails to load and prevents the server from working.
When running in the Jetty environment, a plugin has access to all the libraries available in this environment. Dependent on how you have setup the development environment you would have access to the EWM SDK, client and server, and additional libraries in the class path e.g. Kafka.
I have forgotten the detailed steps, I would google for it.