Using MQTT with SSL on AEL
Complete the following steps to use the MQTT Consumer step with the Pentaho Adaptive Execution Layer (AEL) when connecting to an SSL-enabled MQTT server.
Navigate to the
data-integration/adaptive-execution/configdirectory and open theapplication.propertiesfile with any text editor.Add the following parameters.
Add the DriverExtraJavaOptions parameter for the Spark driver application and specify the file path for
client.ksand its associated password on the cluster:sparkDriverExtraJavaOptions=-Dlog4j.configuration=file:${sparkApp}/classes/log4j.xml -Djavax.net.ssl.trustStore=*\[filepath to client.ks on the cluster\]* -Djavax.net.ssl.trustStorePassword=passwordsparkDriverExtraJavaOptions=-Dlog4j.configuration=file:${sparkApp}/classes/log4j.xml -Djavax.net.ssl.trustStore=/home/cloudera/client.ks -Djavax.net.ssl.trustStorePassword=passwordAdd the ExtraJavaOptions parameter for the Spark executors and specify the file path for
client.ksand its password on the cluster:sparkExecutorExtraJavaOptions=-Djavax.net.ssl.trustStore=*\[filepath to client.ks on the cluster\]* -Djavax.net.ssl.trustStorePassword=password
sparkExecutorExtraJavaOptions=-Djavax.net.ssl.trustStore=/home/cloudera/client.ks -Djavax.net.ssl.trustStorePassword=passwordSave and close the file.
Navigate to the
data-integration/adaptive-executionfolder and run thedaemon.shcommand from the command line interface.
Last updated
Was this helpful?

