I have created java application to stream data from kafka tpoic and process in SPARK . Current I am able to run application in local machine with SPARK config master is set to local. How I should connect to remote HDInsight spark cluster from my local application or I should submit the application through spark-submit. Any working example would be helpful.