Skip to content

Commit

Permalink
Merge branch 'dev-druidliu' into 'branch-2.9-wxg-release' (merge requ…
Browse files Browse the repository at this point in the history
…est !56)

Fix the system topic schema not compatible bug. (apache#117)
  • Loading branch information
druidliu committed Oct 9, 2022
2 parents 43c3cf3 + fab33ab commit 590627e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ public AbstractTopic(String topic, BrokerService brokerService) {
this.preciseTopicPublishRateLimitingEnable =
brokerService.pulsar().getConfiguration().isPreciseTopicPublishRateLimiterEnable();
updatePublishDispatcher(Optional.empty());

if (isSystemTopic()) {
schemaCompatibilityStrategy =
brokerService.pulsar().getConfig().getSystemTopicSchemaCompatibilityStrategy();
}
}

protected boolean isProducersExceeded() {
Expand Down

0 comments on commit 590627e

Please sign in to comment.