Hi Priyanka,
let me first clarify that .Net Adapter is a Remote Adapter, that means it executes in a separate process, outside the JVM process actually running the Lightstreamer Server.
That has been done to supply a way to physically decoupling the code of the Server from the code of the Adapter, in order to provide a better usage of resources from one hand, and the possibility to use any other language with a basic support for TCP sockets on the other hand.
If you want to keep using Java, you have the double choice to use either an "In-process" or a "Remote" Adapter Set.
Please have a look the API Specifications:
Coming back to your question, I am sorry but I am not an expert of Kafka, but you should be able to use the
Consumer Api from your In-Process Java Adapter, in order to consume a message from the broker and then forward it to Lightstreamer clients, by providing a proper transformation of such message into an event to be pushed through the
ItemEventListener .
Hope this helps.
Gianluca