Skip to content

Commit b0615f0

Browse files
committed
Fix CI error.
1 parent 26e48cc commit b0615f0

File tree

2 files changed

+19
-14
lines changed
  • eventmesh-storage-plugin
    • eventmesh-storage-api/src/main/java/org/apache/eventmesh/api/admin
    • eventmesh-storage-rocketmq/src/main/java/org/apache/eventmesh/storage/rocketmq/admin

2 files changed

+19
-14
lines changed

eventmesh-storage-plugin/eventmesh-storage-api/src/main/java/org/apache/eventmesh/api/admin/AbstractAdmin.java

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one
3-
* or more contributor license agreements. See the NOTICE file
4-
* distributed with this work for additional information
5-
* regarding copyright ownership. The ASF licenses this file
6-
* to you under the Apache License, Version 2.0 (the
7-
* "License"); you may not use this file except in compliance
8-
* with the License. You may obtain a copy of the License at
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
98
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
9+
* http://www.apache.org/licenses/LICENSE-2.0
1110
*
12-
* Unless required by applicable law or agreed to in writing,
13-
* software distributed under the License is distributed on an
14-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
* KIND, either express or implied. See the License for the
16-
* specific language governing permissions and limitations
17-
* under the License.
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
1816
*/
1917

2018
package org.apache.eventmesh.api.admin;

eventmesh-storage-plugin/eventmesh-storage-rocketmq/src/main/java/org/apache/eventmesh/storage/rocketmq/admin/RocketMQAdmin.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,26 @@
1919

2020
import org.apache.eventmesh.api.admin.AbstractAdmin;
2121
import org.apache.eventmesh.api.admin.TopicProperties;
22+
import org.apache.eventmesh.common.config.ConfigService;
23+
import org.apache.eventmesh.storage.rocketmq.config.ClientConfiguration;
2224

2325
import org.apache.commons.lang3.StringUtils;
26+
import org.apache.rocketmq.acl.common.AclClientRPCHook;
27+
import org.apache.rocketmq.acl.common.SessionCredentials;
2428
import org.apache.rocketmq.common.TopicConfig;
2529
import org.apache.rocketmq.common.admin.TopicOffset;
2630
import org.apache.rocketmq.common.admin.TopicStatsTable;
2731
import org.apache.rocketmq.common.message.MessageQueue;
32+
import org.apache.rocketmq.remoting.RPCHook;
33+
import org.apache.rocketmq.tools.admin.DefaultMQAdminExt;
2834
import org.apache.rocketmq.tools.command.CommandUtil;
2935

3036
import java.util.ArrayList;
3137
import java.util.Comparator;
3238
import java.util.HashMap;
3339
import java.util.List;
3440
import java.util.Set;
41+
import java.util.UUID;
3542
import java.util.concurrent.atomic.AtomicBoolean;
3643

3744

0 commit comments

Comments
 (0)