Skip to content

Commit

Permalink
ODP-2564 | ODP-2412 | DRUID-17451: handling Dropwizard emitter Servic…
Browse files Browse the repository at this point in the history
…e not started.
  • Loading branch information
basapuram-kumar committed Nov 8, 2024
1 parent b7ca6a0 commit 02116e9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.google.inject.name.Named;
import com.google.inject.name.Names;
import org.apache.druid.guice.JsonConfigProvider;
import org.apache.druid.guice.ManageLifecycle;
import org.apache.druid.initialization.DruidModule;
import org.apache.druid.java.util.emitter.core.Emitter;

Expand All @@ -52,6 +53,7 @@ public void configure(Binder binder)
}

@Provides
@ManageLifecycle
@Named(EMITTER_TYPE)
public Emitter getEmitter(
DropwizardEmitterConfig dropwizardEmitterConfig,
Expand Down

0 comments on commit 02116e9

Please sign in to comment.