The file contains the credentials and will be used when connecting to Kafka. 

This is a sensitive file so please set proper file permissions for the configuration file, as it contains the user and the password that will be used when connecting to Mapp's Streaming endpoint.
  1. Create a configuration file as follows (typically a .conf file) and include the following in your file:

    KafkaClient {
       org.apache.kafka.common.security.scram.ScramLoginModule required
       username="myuser"
       password="mypassword";
    };
    CODE
  2. Substitute <username> and <password> by credentials provided by Mapp.

  3. Then pass the following flag to the JVM (Java Virtual Machine) during the execution of your software.

    -Djava.security.auth.login.config=/path/to/my/jaas.conf
    CODE
  4. Substitute the path to your jaas.conf-file.