...
NOTE: if the Basic Authentication credentials were not passed, the subscribe attempt should fail with a 401. If some other credentials that hadn't been granted the subscribe permission were passed, the subscribeattempt should fail with 403.
Note: If an application uses Kafka API, instead of the Message Router to interact with Kafka, add the following additional properties while creating a Producer or Consumer.
Key | Value |
---|---|
sasl.jaas.config | org.apache.kafka.common.security.plain.PlainLoginModule required username='<<AAF app/user id>>' password='<<AAF password>>; |
security.protocol | SASL_PLAINTEXT |
sasl.mechanism | PLAIN |