This is an automated email from the ASF dual-hosted git repository.
abhishekrb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new d8e4be654ff ManageLifecycle DropwizardEmitter instantiation. (#17451)
d8e4be654ff is described below
commit d8e4be654ff96dc5b34a5029e5e821ddc057f9b5
Author: Abhishek Radhakrishnan <[email protected]>
AuthorDate: Tue Nov 5 18:57:22 2024 -0800
ManageLifecycle DropwizardEmitter instantiation. (#17451)
---
.../org/apache/druid/emitter/dropwizard/DropwizardEmitterModule.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/extensions-contrib/dropwizard-emitter/src/main/java/org/apache/druid/emitter/dropwizard/DropwizardEmitterModule.java
b/extensions-contrib/dropwizard-emitter/src/main/java/org/apache/druid/emitter/dropwizard/DropwizardEmitterModule.java
index 524dad165e3..abc0a502e57 100644
---
a/extensions-contrib/dropwizard-emitter/src/main/java/org/apache/druid/emitter/dropwizard/DropwizardEmitterModule.java
+++
b/extensions-contrib/dropwizard-emitter/src/main/java/org/apache/druid/emitter/dropwizard/DropwizardEmitterModule.java
@@ -28,6 +28,7 @@ import com.google.inject.Provides;
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;
@@ -52,6 +53,7 @@ public class DropwizardEmitterModule implements DruidModule
}
@Provides
+ @ManageLifecycle
@Named(EMITTER_TYPE)
public Emitter getEmitter(
DropwizardEmitterConfig dropwizardEmitterConfig,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]