heesung-sn commented on code in PR #23349:
URL: https://github.com/apache/pulsar/pull/23349#discussion_r1776014180
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/channel/ServiceUnitStateData.java:
##########
@@ -34,7 +34,7 @@ public record ServiceUnitStateData(
public ServiceUnitStateData {
Objects.requireNonNull(state);
- if (StringUtils.isBlank(dstBroker) &&
StringUtils.isBlank(sourceBroker)) {
Review Comment:
The intention is that we want to tag a source or destination broker for all
events to trace where the event comes from.
For example, the logic tries to set "source broker" when setting Free state,
to indicate who was the previous owner. In what cases, both source and dst
brokers can be empty here?
--
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]