use of org.apache.druid.java.util.emitter.core.HttpPostEmitter in project druid by apache.
the class HttpEmitterFactory method makeEmitter.
@Override
public Emitter makeEmitter(ObjectMapper objectMapper, AsyncHttpClient httpClient, Lifecycle lifecycle) {
Emitter retVal = new HttpPostEmitter(this, httpClient, objectMapper);
lifecycle.addManagedInstance(retVal);
return retVal;
}
use of org.apache.druid.java.util.emitter.core.HttpPostEmitter in project druid by druid-io.
the class HttpEmitterFactory method makeEmitter.
@Override
public Emitter makeEmitter(ObjectMapper objectMapper, AsyncHttpClient httpClient, Lifecycle lifecycle) {
Emitter retVal = new HttpPostEmitter(this, httpClient, objectMapper);
lifecycle.addManagedInstance(retVal);
return retVal;
}
Aggregations