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.
Create a configuration file as follows (typically a
.conffile) and include the following in your file:KafkaClient { org.apache.kafka.common.security.scram.ScramLoginModule required username="myuser" password="mypassword"; };Substitute <username> and <password> by credentials provided by Mapp.
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.confSubstitute the path to your
jaas.conf-file.