diff --git a/client/pom.xml b/client/pom.xml
index 7c952ac44e157a92ea266ae7bf322ed95d722f87..24d0a54b029e9698099e0672ab612cec96afff37 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -22,12 +22,16 @@
4.1.0-incubating-SNAPSHOT
-
4.0.0
jar
rocketmq-client
rocketmq-client ${project.version}
+
+ 1.6
+ 1.6
+
+
${project.groupId}
diff --git a/client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java b/client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java
index 2cce03d347389c4b23476c8886664b5975a1f6ae..3903fe2b4f83c99ce553d14070497324584386db 100644
--- a/client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java
+++ b/client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java
@@ -133,7 +133,7 @@ public class DefaultMQPushConsumer extends ClientConfig implements MQPushConsume
/**
* Subscription relationship
*/
- private Map subscription = new HashMap<>();
+ private Map subscription = new HashMap();
/**
* Message listener
diff --git a/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java b/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
index 1343e7639b67daa6faa4766bbc54b61a7914abfd..ebcfb62614d509fc351567f25639f446329a63c4 100644
--- a/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
+++ b/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
@@ -842,7 +842,11 @@ public class MQClientInstance {
try {
this.mQClientAPIImpl.unregisterClient(addr, this.clientId, producerGroup, consumerGroup, 3000);
log.info("unregister client[Producer: {} Consumer: {}] from broker[{} {} {}] success", producerGroup, consumerGroup, brokerName, entry1.getKey(), addr);
- } catch (RemotingException | InterruptedException | MQBrokerException e) {
+ } catch (RemotingException e) {
+ log.error("unregister client exception from broker: " + addr, e);
+ } catch (InterruptedException e) {
+ log.error("unregister client exception from broker: " + addr, e);
+ } catch (MQBrokerException e) {
log.error("unregister client exception from broker: " + addr, e);
}
}
diff --git a/client/src/test/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumerTest.java b/client/src/test/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumerTest.java
index 6672b1e88d6d9aa5a7fc61a7d76d07cda866bc67..33142617d0d3d533a4f5b0e090a35e84f9bcf90b 100644
--- a/client/src/test/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumerTest.java
+++ b/client/src/test/java/org/apache/rocketmq/client/consumer/DefaultMQPullConsumerTest.java
@@ -99,7 +99,7 @@ public class DefaultMQPullConsumerTest {
assertThat(pullResult.getNextBeginOffset()).isEqualTo(1024 + 1);
assertThat(pullResult.getMinOffset()).isEqualTo(123);
assertThat(pullResult.getMaxOffset()).isEqualTo(2048);
- assertThat(pullResult.getMsgFoundList()).isEqualTo(new ArrayList<>());
+ assertThat(pullResult.getMsgFoundList()).isEqualTo(new ArrayList