support Kafka SASL login module. (#7281)
Co-authored-by: Elliot Duan <elliot.duan@homecreditcfc.cn>
This commit is contained in:
parent
a5b855d3a7
commit
6228d450e1
|
|
@ -31,6 +31,7 @@ Release Notes.
|
|||
* Move `ehcache-2.x` plugin as an optional plugin.
|
||||
* Support `guava-cache` plugin.
|
||||
* Enhance the compatibility of `mysql-8.x-plugin` plugin.
|
||||
* Support Kafka SASL login module.
|
||||
|
||||
#### OAP-Backend
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ import org.apache.skywalking.apm.agent.core.boot.DefaultNamedThreadFactory;
|
|||
import org.apache.skywalking.apm.agent.core.boot.ServiceManager;
|
||||
import org.apache.skywalking.apm.agent.core.logging.api.ILog;
|
||||
import org.apache.skywalking.apm.agent.core.logging.api.LogManager;
|
||||
import org.apache.skywalking.apm.agent.core.plugin.loader.AgentClassLoader;
|
||||
import org.apache.skywalking.apm.agent.core.remote.GRPCChannelManager;
|
||||
import org.apache.skywalking.apm.util.RunnableWithExceptionProtection;
|
||||
import org.apache.skywalking.apm.util.StringUtil;
|
||||
|
|
@ -96,6 +97,8 @@ public class KafkaProducerManager implements BootService, Runnable {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
Thread.currentThread().setContextClassLoader(AgentClassLoader.getDefault());
|
||||
|
||||
Properties properties = new Properties();
|
||||
properties.setProperty(
|
||||
ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, KafkaReporterPluginConfig.Plugin.Kafka.BOOTSTRAP_SERVERS);
|
||||
|
|
|
|||
Loading…
Reference in New Issue