diff --git a/examples/kafka-streams/pom.xml b/examples/kafka-streams/pom.xml index 8d29916..6f4e9c1 100644 --- a/examples/kafka-streams/pom.xml +++ b/examples/kafka-streams/pom.xml @@ -24,7 +24,7 @@ org.apache.pulsar.examples pulsar-adapters-examples - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT kafka-streams @@ -35,7 +35,7 @@ org.apache.pulsar pulsar-client-kafka - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT diff --git a/examples/pom.xml b/examples/pom.xml index b756c2e..15c4548 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -25,7 +25,7 @@ org.apache.pulsar pulsar-adapters - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT org.apache.pulsar.examples diff --git a/examples/spark/pom.xml b/examples/spark/pom.xml index 667373a..096bc72 100644 --- a/examples/spark/pom.xml +++ b/examples/spark/pom.xml @@ -25,7 +25,7 @@ org.apache.pulsar.examples pulsar-adapters-examples - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT spark diff --git a/pom.xml b/pom.xml index 4f240d1..0ccff38 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ org.apache.pulsar pulsar-adapters - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT Pulsar Adapters A collections of Pulsar adapters. @@ -76,7 +76,7 @@ - 2.11.0 + 3.2.0-SNAPSHOT 2.7.2 2.0.0 0.8.1.1 diff --git a/pulsar-client-kafka-compat/pom.xml b/pulsar-client-kafka-compat/pom.xml index d2c8b8a..cf93f29 100644 --- a/pulsar-client-kafka-compat/pom.xml +++ b/pulsar-client-kafka-compat/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-adapters - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded/pom.xml index 5d47d53..f2ee5c2 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_8/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_8/pom.xml index c04a999..4a6e610 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_8/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_8/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_9/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_9/pom.xml index e100d8e..cfd097e 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_9/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-shaded_0_9/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-tests/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-tests/pom.xml index 6f90950..33ee1cc 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-tests/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-tests/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-tests_0_8/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-tests_0_8/pom.xml index 8e3246d..1ad1a47 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-tests_0_8/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-tests_0_8/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka-tests_0_9/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka-tests_0_9/pom.xml index 948ff0d..5a0cb5f 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka-tests_0_9/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka-tests_0_9/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka/pom.xml index 8667697..2ca5895 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka_0_8/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka_0_8/pom.xml index 03557b1..dfd8971 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka_0_8/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka_0_8/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka_0_9/pom.xml b/pulsar-client-kafka-compat/pulsar-client-kafka_0_9/pom.xml index c4e9b15..2489878 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka_0_9/pom.xml +++ b/pulsar-client-kafka-compat/pulsar-client-kafka_0_9/pom.xml @@ -27,7 +27,7 @@ org.apache.pulsar pulsar-client-kafka-compat - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-client-kafka-compat/pulsar-client-kafka_0_9/src/test/java/org/apache/kafka/clients/producer/PulsarKafkaProducerTest.java b/pulsar-client-kafka-compat/pulsar-client-kafka_0_9/src/test/java/org/apache/kafka/clients/producer/PulsarKafkaProducerTest.java index 4d12418..ef737fa 100644 --- a/pulsar-client-kafka-compat/pulsar-client-kafka_0_9/src/test/java/org/apache/kafka/clients/producer/PulsarKafkaProducerTest.java +++ b/pulsar-client-kafka-compat/pulsar-client-kafka_0_9/src/test/java/org/apache/kafka/clients/producer/PulsarKafkaProducerTest.java @@ -21,7 +21,6 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.ArgumentMatchers.anyString; -import static org.mockito.ArgumentMatchers.anyVararg; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.mock; @@ -31,7 +30,6 @@ import java.util.ArrayList; import java.util.Arrays; -import java.util.List; import java.util.Properties; import java.util.concurrent.CompletableFuture; import java.util.concurrent.TimeUnit; diff --git a/pulsar-log4j2-appender/pom.xml b/pulsar-log4j2-appender/pom.xml index b55fca7..b6af822 100644 --- a/pulsar-log4j2-appender/pom.xml +++ b/pulsar-log4j2-appender/pom.xml @@ -24,7 +24,7 @@ org.apache.pulsar pulsar-adapters - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-spark/pom.xml b/pulsar-spark/pom.xml index f10b167..6ee0d2b 100644 --- a/pulsar-spark/pom.xml +++ b/pulsar-spark/pom.xml @@ -26,7 +26,7 @@ org.apache.pulsar pulsar-adapters - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-storm/pom.xml b/pulsar-storm/pom.xml index a20649b..2a3a753 100644 --- a/pulsar-storm/pom.xml +++ b/pulsar-storm/pom.xml @@ -26,7 +26,7 @@ org.apache.pulsar pulsar-adapters - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT .. diff --git a/pulsar-storm/src/main/java/org/apache/pulsar/storm/PulsarSpout.java b/pulsar-storm/src/main/java/org/apache/pulsar/storm/PulsarSpout.java index 8ed090e..d7d5e1d 100644 --- a/pulsar-storm/src/main/java/org/apache/pulsar/storm/PulsarSpout.java +++ b/pulsar-storm/src/main/java/org/apache/pulsar/storm/PulsarSpout.java @@ -454,7 +454,7 @@ public void close() throws PulsarClientException { @Override public void unsubscribe() throws PulsarClientException { - consumer.unsubscribe(); + consumer.unsubscribe(true); } } diff --git a/tests/pom.xml b/tests/pom.xml index 18ccb15..caf4688 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -26,7 +26,7 @@ org.apache.pulsar pulsar-adapters - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT org.apache.pulsar.tests adapters-tests-parent diff --git a/tests/pulsar-kafka-compat-client-test/pom.xml b/tests/pulsar-kafka-compat-client-test/pom.xml index 1a9095c..9790661 100644 --- a/tests/pulsar-kafka-compat-client-test/pom.xml +++ b/tests/pulsar-kafka-compat-client-test/pom.xml @@ -25,7 +25,7 @@ org.apache.pulsar.tests adapters-tests-parent - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT pulsar-kafka-compat-client-test diff --git a/tests/pulsar-spark-test/pom.xml b/tests/pulsar-spark-test/pom.xml index 7078978..7208dcd 100644 --- a/tests/pulsar-spark-test/pom.xml +++ b/tests/pulsar-spark-test/pom.xml @@ -26,7 +26,7 @@ org.apache.pulsar.tests adapters-tests-parent - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT pulsar-spark-test @@ -41,7 +41,7 @@ org.apache.pulsar pulsar-spark - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT test diff --git a/tests/pulsar-storm-test/pom.xml b/tests/pulsar-storm-test/pom.xml index 3134328..83163d9 100644 --- a/tests/pulsar-storm-test/pom.xml +++ b/tests/pulsar-storm-test/pom.xml @@ -26,7 +26,7 @@ org.apache.pulsar.tests adapters-tests-parent - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT pulsar-storm-test @@ -38,7 +38,7 @@ org.apache.pulsar pulsar-storm - 2.11.0-SNAPSHOT + 3.2.0-SNAPSHOT test