Demogorgon314 commented on code in PR #19153:
URL: https://github.com/apache/pulsar/pull/19153#discussion_r1070934942
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java:
##########
@@ -283,6 +286,8 @@ public class BrokerService implements Closeable {
private Set<BrokerEntryMetadataInterceptor>
brokerEntryMetadataInterceptors;
private Set<ManagedLedgerPayloadProcessor> brokerEntryPayloadProcessors;
+ private final List<TopicEventsListener> topicEventListeners = new
CopyOnWriteArrayList<>();
Review Comment:
Can we add a separate class like `TopicEventListeners` or
`TopicEventService` to package all operations to let the `BrokerService` duty
more clear?
What do you think?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]