Skip to content

Commit

Permalink
fix autoSkipConf (#6863)
Browse files Browse the repository at this point in the history
Fixes #6841
Co-authored-by: Xiaopeng Zhang <xiaopengzhang@Xiaopengs-MacBook-Pro.local>
Co-authored-by: Jia Zhai <zhaijia@apache.org>
  • Loading branch information
pheecian committed May 12, 2020
1 parent 65dc9d9 commit 3198f4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ public CompletableFuture<ManagedLedgerConfig> getManagedLedgerConfig(TopicName t
managedLedgerConfig.setLedgerRolloverTimeout(serviceConfig.getManagedLedgerCursorRolloverTimeInSeconds());
managedLedgerConfig.setRetentionTime(retentionPolicies.getRetentionTimeInMinutes(), TimeUnit.MINUTES);
managedLedgerConfig.setRetentionSizeInMB(retentionPolicies.getRetentionSizeInMB());

managedLedgerConfig.setAutoSkipNonRecoverableData(serviceConfig.isAutoSkipNonRecoverableData());
OffloadPolicies offloadPolicies = policies.map(p -> p.offload_policies).orElse(null);

if (offloadPolicies == null) {
Expand Down

0 comments on commit 3198f4f

Please sign in to comment.