Add HelixEventHandlingUtil and use that util for cloud event - Add API (#2127)
authorxyuanlu <xyuanlu@gmail.com>
Fri, 3 Jun 2022 17:27:32 +0000 (10:27 -0700)
committerGitHub <noreply@github.com>
Fri, 3 Jun 2022 17:27:32 +0000 (10:27 -0700)
commitd5fc68a2b80042046fa16f6b35bb1175d3a25d1f
tree99a19649541c971ee85250c09713b224916ea61a
parent3a9990c2bd61e1a81af699667ee3177475e4bfbf
Add HelixEventHandlingUtil and use that util for cloud event - Add API (#2127)

Previously helix event handling depends on batch enable/disable instance. We would like to move away the dependence on generic batch enable/disable instance and use a dedicated Util only for event handling use case. This change adds API signature for util functions/
helix-core/src/main/java/org/apache/helix/cloud/event/helix/DefaultCloudEventCallbackImpl.java
helix-core/src/main/java/org/apache/helix/cloud/event/helix/HelixEventHandlingUtil.java [new file with mode: 0644]
helix-core/src/test/java/org/apache/helix/cloud/event/TestDefaultCloudEventCallbackImpl.java