Skip to content

Commit

Permalink
[fix][broker] Fix PersistentSubscription duplicate implementation int…
Browse files Browse the repository at this point in the history
…erface Subscription (#22359)
  • Loading branch information
sherlock-lin committed Mar 28, 2024
1 parent 32037c3 commit 6f9c8e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -40,7 +40,6 @@
import org.apache.pulsar.broker.service.Consumer;
import org.apache.pulsar.broker.service.Dispatcher;
import org.apache.pulsar.broker.service.GetStatsOptions;
import org.apache.pulsar.broker.service.Subscription;
import org.apache.pulsar.broker.service.Topic;
import org.apache.pulsar.common.api.proto.CommandAck.AckType;
import org.apache.pulsar.common.api.proto.CommandSubscribe.SubType;
Expand All @@ -53,7 +52,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class NonPersistentSubscription extends AbstractSubscription implements Subscription {
public class NonPersistentSubscription extends AbstractSubscription {
private final NonPersistentTopic topic;
private volatile NonPersistentDispatcher dispatcher;
private final String topicName;
Expand Down
Expand Up @@ -97,7 +97,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PersistentSubscription extends AbstractSubscription implements Subscription {
public class PersistentSubscription extends AbstractSubscription {
protected final PersistentTopic topic;
protected final ManagedCursor cursor;
protected volatile Dispatcher dispatcher;
Expand Down

0 comments on commit 6f9c8e7

Please sign in to comment.