I\'am new to apache kafka and I\'am trying to use it on android studio in order to produce data to my server located on my pc using codes from A simple Kafka Consumer and Pr
You wouldn't. This would be insecure. You'd send a request to a webservice, and it would send data to Kafka. Anything else would require your Kafka servers to be public with the authentication info in the app, which is basically then open to anyone.