This is an automated email from the ASF dual-hosted git repository. xiangying pushed a commit to branch stable in repository https://gitbox.apache.org/repos/asf/pulsar-java-contrib.git
commit f927c4769c3618f5ff198a773f915c2372130cbe Author: xiangying <mengxiangy...@xiaohongshu.com> AuthorDate: Mon Jul 29 15:31:21 2024 +0800 Refactor: Rename the pulsar-client-contrib to pulsar-client-common-contrib --- conrtibutionGuides.md | 4 ++-- pom.xml | 2 +- {pulsar-client-contrib => pulsar-client-common-contrib}/pom.xml | 2 +- .../java/org/apache/pulsar/client/api/MessageListenerExecutor.java | 0 .../apache/pulsar/client/api/impl/CommonMessageListenerExecutor.java | 0 .../pulsar/client/api/impl/KeySharedMessageListenerExecutor.java | 0 .../pulsar/client/api/impl/PartitionOrderMessageListenerExecutor.java | 0 7 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conrtibutionGuides.md b/conrtibutionGuides.md index 54df75c..74c65c7 100644 --- a/conrtibutionGuides.md +++ b/conrtibutionGuides.md @@ -11,7 +11,7 @@ Many of these plugins are similar and can be reused. This project aims to collec ## 2. Core interface list List the core interfaces in Pulsar that can be implemented by contributors. -### 2.1 Pulsar client extension interface +### 2.1 Pulsar client common extension interface - `org.apache.pulsar.client.api.MessageListenerExecutor.java` ### 2.2 Authentication and authorization related interfaces @@ -60,7 +60,7 @@ List the core interfaces in Pulsar that can be implemented by contributors. ## 3. Interface Implementation Guide Provide implementation guide for each type of interfaces. -### 3.1 Client extension interface implementation +### 3.1 Client common extension interface implementation - `org.apache.pulsar.client.api.MessageListenerExecutor.java` - **Purpose**: Select different message processing threads according to business scenarios. - **Sample code**: org.apache.pulsar.client.api.impl.KeySharedMessageListenerExecutor, org.apache.pulsar.client.api.impl.CommonMessageListenerExecutor, org.apache.pulsar.client.api.impl.PartitionOrderMessageListenerExecutor diff --git a/pom.xml b/pom.xml index d107fe2..73a12e9 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ <name>Pulsar Java Contrib</name> <modules> - <module>pulsar-client-contrib</module> + <module>pulsar-client-common-contrib</module> <module>pulsar-loadbalance-contrib</module> <module>pulsar-interceptor-contrib</module> <module>pulsar-connector-contrib</module> diff --git a/pulsar-client-contrib/pom.xml b/pulsar-client-common-contrib/pom.xml similarity index 92% rename from pulsar-client-contrib/pom.xml rename to pulsar-client-common-contrib/pom.xml index 0374688..9a46ecb 100644 --- a/pulsar-client-contrib/pom.xml +++ b/pulsar-client-common-contrib/pom.xml @@ -5,7 +5,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>org.acme</groupId> - <artifactId>pulsar-client-contrib</artifactId> + <artifactId>pulsar-client-common-contrib</artifactId> <version>1.0-SNAPSHOT</version> <properties> diff --git a/pulsar-client-contrib/src/main/java/org/apache/pulsar/client/api/MessageListenerExecutor.java b/pulsar-client-common-contrib/src/main/java/org/apache/pulsar/client/api/MessageListenerExecutor.java similarity index 100% rename from pulsar-client-contrib/src/main/java/org/apache/pulsar/client/api/MessageListenerExecutor.java rename to pulsar-client-common-contrib/src/main/java/org/apache/pulsar/client/api/MessageListenerExecutor.java diff --git a/pulsar-client-contrib/src/main/java/org/apache/pulsar/client/api/impl/CommonMessageListenerExecutor.java b/pulsar-client-common-contrib/src/main/java/org/apache/pulsar/client/api/impl/CommonMessageListenerExecutor.java similarity index 100% rename from pulsar-client-contrib/src/main/java/org/apache/pulsar/client/api/impl/CommonMessageListenerExecutor.java rename to pulsar-client-common-contrib/src/main/java/org/apache/pulsar/client/api/impl/CommonMessageListenerExecutor.java diff --git a/pulsar-client-contrib/src/main/java/org/apache/pulsar/client/api/impl/KeySharedMessageListenerExecutor.java b/pulsar-client-common-contrib/src/main/java/org/apache/pulsar/client/api/impl/KeySharedMessageListenerExecutor.java similarity index 100% rename from pulsar-client-contrib/src/main/java/org/apache/pulsar/client/api/impl/KeySharedMessageListenerExecutor.java rename to pulsar-client-common-contrib/src/main/java/org/apache/pulsar/client/api/impl/KeySharedMessageListenerExecutor.java diff --git a/pulsar-client-contrib/src/main/java/org/apache/pulsar/client/api/impl/PartitionOrderMessageListenerExecutor.java b/pulsar-client-common-contrib/src/main/java/org/apache/pulsar/client/api/impl/PartitionOrderMessageListenerExecutor.java similarity index 100% rename from pulsar-client-contrib/src/main/java/org/apache/pulsar/client/api/impl/PartitionOrderMessageListenerExecutor.java rename to pulsar-client-common-contrib/src/main/java/org/apache/pulsar/client/api/impl/PartitionOrderMessageListenerExecutor.java