Search in sources :

Example 1 with ServiceMapStatefulPrepper

use of com.amazon.dataprepper.plugins.prepper.ServiceMapStatefulPrepper in project data-prepper by opensearch-project.

the class ServiceMapStatefulPrepperBenchmarks method setupServiceMapStatefulPrepper.

@Setup(Level.Trial)
public void setupServiceMapStatefulPrepper() {
    final PluginSetting pluginSetting = new PluginSetting("plugin", Collections.singletonMap("window_duration", windowDurationSeconds * 1000));
    serviceMapStatefulPrepper = new ServiceMapStatefulPrepper(pluginSetting);
}
Also used : ServiceMapStatefulPrepper(com.amazon.dataprepper.plugins.prepper.ServiceMapStatefulPrepper) PluginSetting(com.amazon.dataprepper.model.configuration.PluginSetting) Setup(org.openjdk.jmh.annotations.Setup)

Aggregations

PluginSetting (com.amazon.dataprepper.model.configuration.PluginSetting)1 ServiceMapStatefulPrepper (com.amazon.dataprepper.plugins.prepper.ServiceMapStatefulPrepper)1 Setup (org.openjdk.jmh.annotations.Setup)1