skywalking写es开启异步写入

org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.StorageEsInstaller

在createSetting方法添加如下es设置

//custom config for better es update performance
setting.addProperty("index.translog.durability", "async");
setting.addProperty("index.translog.sync_interval", "120s");
setting.addProperty("index.merge.scheduler.max_thread_count", "1");

你可能感兴趣的:(java,skywalking,elasticsearch,异步)