Skip to content

Commit

Permalink
apply comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gavingaozhangmin committed Aug 19, 2022
1 parent 14f5603 commit 728bba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,8 @@ private void updateTopicPolicyByBrokerConfig() {
.updateBrokerValue(formatSchemaCompatibilityStrategy(schemaCompatibilityStrategy));
topicPolicies.getDispatchRate().updateBrokerValue(dispatchRateInBroker(config));
topicPolicies.getSchemaValidationEnforced().updateBrokerValue(config.isSchemaValidationEnforced());
topicPolicies.getEntryFilters().updateBrokerValue(new EntryFilters("",
String.join(",", config.getEntryFilterNames()),
config.getEntryFiltersDirectory()));
topicPolicies.getEntryFilters().updateBrokerValue(new EntryFilters(String.join(",",
config.getEntryFilterNames())));
}

private DispatchRateImpl dispatchRateInBroker(ServiceConfiguration config) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,6 @@ protected boolean isConsumersExceededOnSubscription() {

@Override
public boolean trackDelayedDelivery(long ledgerId, long entryId, MessageMetadata msgMetadata) {
if (!msgMetadata.hasDeliverAtTime()) {
// No need to initialize the tracker here
return false;
}
//for test.
return true;
}
Expand Down

0 comments on commit 728bba5

Please sign in to comment.