diff --git a/structured-event-log/pom.xml b/structured-event-log/pom.xml
index dc026a4f9104e..f797e8b403537 100644
--- a/structured-event-log/pom.xml
+++ b/structured-event-log/pom.xml
@@ -58,4 +58,23 @@
test
+
+
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+
+
+ checkstyle
+ verify
+
+ check
+
+
+
+
+
+
+
diff --git a/structured-event-log/src/main/java/org/apache/pulsar/structuredeventlog/EventGroup.java b/structured-event-log/src/main/java/org/apache/pulsar/structuredeventlog/EventGroup.java
index c3d4ca8ed93c7..6e24a25bce94d 100644
--- a/structured-event-log/src/main/java/org/apache/pulsar/structuredeventlog/EventGroup.java
+++ b/structured-event-log/src/main/java/org/apache/pulsar/structuredeventlog/EventGroup.java
@@ -21,7 +21,7 @@
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
-@Retention(value=RetentionPolicy.RUNTIME)
+@Retention(value = RetentionPolicy.RUNTIME)
public @interface EventGroup {
String component();
}
diff --git a/structured-event-log/src/main/java/org/apache/pulsar/structuredeventlog/EventResourcesImpl.java b/structured-event-log/src/main/java/org/apache/pulsar/structuredeventlog/EventResourcesImpl.java
index 80df37e96ed34..710f56dce41f9 100644
--- a/structured-event-log/src/main/java/org/apache/pulsar/structuredeventlog/EventResourcesImpl.java
+++ b/structured-event-log/src/main/java/org/apache/pulsar/structuredeventlog/EventResourcesImpl.java
@@ -40,7 +40,7 @@ public EventResources resource(String key, Object value) {
@Override
public EventResources resource(String key, Supplier value) {
- resource(key, (Object)value);
+ resource(key, (Object) value);
return this;
}
@@ -77,7 +77,7 @@ public static void forEach(List