-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
deprecated/questionQuestions should happened in GitHub DiscussionsQuestions should happened in GitHub DiscussionsdocYour PR contains doc changes, no matter whether the changes are in markdown or code files.Your PR contains doc changes, no matter whether the changes are in markdown or code files.
Description
Issue
To the best of my knowledge, pulsar/client/api should not have dependency on pulsar/client/impl
Actual behavior
pulsar/client/api has dependency in pulsar/client/impl, I think we should create interfaces and remove these dependencies :
./AuthenticationFactory.java:import com.yahoo.pulsar.client.impl.auth.AuthenticationDisabled;
./ClientConfiguration.java:import com.yahoo.pulsar.client.impl.auth.AuthenticationDisabled;
./Consumer.java:import com.yahoo.pulsar.client.impl.BrokerConsumerStats;
./Consumer.java:import com.yahoo.pulsar.client.impl.ConsumerStats;
./MessageBuilder.java:import com.yahoo.pulsar.client.impl.MessageBuilderImpl;
./MessageId.java:import com.yahoo.pulsar.client.impl.MessageIdImpl;
./Producer.java:import com.yahoo.pulsar.client.impl.ProducerStats;
./ProducerConfiguration.java:import com.yahoo.pulsar.client.impl.RoundRobinPartitionMessageRouterImpl;
./ProducerConfiguration.java:import com.yahoo.pulsar.client.impl.SinglePartitionMessageRouterImpl;
./PulsarClient.java:import com.yahoo.pulsar.client.impl.PulsarClientImpl;
Steps to reproduce
Code Inspection
System configuration
Pulsar version: x.y
Metadata
Metadata
Assignees
Labels
deprecated/questionQuestions should happened in GitHub DiscussionsQuestions should happened in GitHub DiscussionsdocYour PR contains doc changes, no matter whether the changes are in markdown or code files.Your PR contains doc changes, no matter whether the changes are in markdown or code files.