For SASL/PLAIN, an option for client code is to use the sasl.jaas.config
property instead of a jaas property file.
You can store the password encrypted, decrypt it at runtime, and set the
"sasl.jaas.config" property in the client configuration properties.
I have used this method.
For the broker
Typo: I meant to say " MetricName and Metric are not super clear parts of the
API".
-Original Message-----
From: Bill Gibson
Sent: Friday, March 01, 2019 12:12 PM
To: users@kafka.apache.org
Subject: RE: Lag checking from producer
I worked on a project that needed backpressure for
I worked on a project that needed backpressure for a variety of reasons &
causes. We ended up needing to compute lag on all partitions, which was messy
because of the boilerplate code implied in Filipp's 3rd option. I looked for a
simple Kafka client API to get lags but did not find it.
Filipp,