File tree Expand file tree Collapse file tree 8 files changed +8
-16
lines changed
rocketmq-connect-runtime/src
main/java/org/apache/rocketmq/connect/runtime/stats
test/java/org/apache/rocketmq/connect/runtime Expand file tree Collapse file tree 8 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 20
20
import org .apache .commons .lang3 .StringUtils ;
21
21
import org .apache .rocketmq .common .ServiceThread ;
22
22
import org .apache .rocketmq .connect .runtime .common .LoggerName ;
23
- import org .apache .rocketmq .logging .InternalLogger ;
24
- import org .apache .rocketmq .logging .InternalLoggerFactory ;
25
23
26
24
import java .text .MessageFormat ;
27
25
import java .util .HashMap ;
Original file line number Diff line number Diff line change 17
17
package org .apache .rocketmq .connect .runtime .connectorwrapper ;
18
18
19
19
import org .apache .rocketmq .common .MixAll ;
20
- import org .apache .rocketmq .common .protocol .route .BrokerData ;
21
- import org .apache .rocketmq .common .protocol .route .TopicRouteData ;
22
20
23
21
import java .util .ArrayList ;
24
22
import java .util .HashMap ;
25
23
import java .util .List ;
24
+ import org .apache .rocketmq .remoting .protocol .route .BrokerData ;
25
+ import org .apache .rocketmq .remoting .protocol .route .TopicRouteData ;
26
26
27
27
/**
28
28
* tools class
Original file line number Diff line number Diff line change 21
21
import io .netty .channel .ChannelHandlerContext ;
22
22
import java .nio .charset .StandardCharsets ;
23
23
import java .util .List ;
24
- import org .apache .rocketmq .common .protocol .RequestCode ;
25
- import org .apache .rocketmq .common .protocol .header .NotifyConsumerIdsChangedRequestHeader ;
26
24
import org .apache .rocketmq .connect .runtime .config .WorkerConfig ;
27
25
import org .apache .rocketmq .connect .runtime .connectorwrapper .NameServerMocker ;
28
26
import org .apache .rocketmq .connect .runtime .connectorwrapper .ServerResponseMocker ;
29
27
import org .apache .rocketmq .remoting .RemotingClient ;
30
28
import org .apache .rocketmq .remoting .protocol .RemotingCommand ;
29
+ import org .apache .rocketmq .remoting .protocol .RequestCode ;
30
+ import org .apache .rocketmq .remoting .protocol .header .NotifyConsumerIdsChangedRequestHeader ;
31
31
import org .junit .After ;
32
32
import org .junit .Assert ;
33
33
import org .junit .Before ;
Original file line number Diff line number Diff line change 29
29
import java .util .Set ;
30
30
import java .util .UUID ;
31
31
32
- import com .google .common .collect .Maps ;
33
32
import org .apache .rocketmq .client .consumer .DefaultLitePullConsumer ;
34
- import org .apache .rocketmq .client .consumer .DefaultMQPushConsumer ;
35
33
import org .apache .rocketmq .client .producer .DefaultMQProducer ;
36
34
import org .apache .rocketmq .client .producer .SendCallback ;
37
- import org .apache .rocketmq .common .admin .TopicOffset ;
38
35
import org .apache .rocketmq .common .message .Message ;
39
36
import org .apache .rocketmq .common .message .MessageQueue ;
40
37
import org .apache .rocketmq .connect .runtime .common .ConnAndTaskConfigs ;
53
50
import org .apache .rocketmq .connect .runtime .utils .datasync .BrokerBasedLog ;
54
51
import org .apache .rocketmq .connect .runtime .utils .datasync .DataSynchronizer ;
55
52
import org .apache .rocketmq .connect .runtime .utils .datasync .DataSynchronizerCallback ;
53
+ import org .apache .rocketmq .remoting .protocol .admin .TopicOffset ;
56
54
import org .junit .After ;
57
55
import org .junit .Assert ;
58
56
import org .junit .Before ;
Original file line number Diff line number Diff line change 40
40
import org .apache .rocketmq .client .impl .consumer .RebalanceImpl ;
41
41
import org .apache .rocketmq .client .impl .factory .MQClientInstance ;
42
42
import org .apache .rocketmq .client .producer .DefaultMQProducer ;
43
- import org .apache .rocketmq .common .admin .TopicOffset ;
44
43
import org .apache .rocketmq .common .message .MessageQueue ;
45
44
import org .apache .rocketmq .connect .runtime .common .ConnectKeyValue ;
46
45
import org .apache .rocketmq .connect .runtime .config .WorkerConfig ;
Original file line number Diff line number Diff line change 19
19
20
20
import com .google .common .collect .Lists ;
21
21
import io .netty .util .internal .ConcurrentSet ;
22
- import io .openmessaging .Future ;
23
22
import io .openmessaging .connector .api .data .RecordOffset ;
24
- import io .openmessaging .producer .SendResult ;
25
23
import org .apache .rocketmq .client .consumer .DefaultLitePullConsumer ;
26
24
import org .apache .rocketmq .client .producer .DefaultMQProducer ;
27
25
import org .apache .rocketmq .client .producer .SendCallback ;
28
- import org .apache .rocketmq .common .admin .TopicOffset ;
29
26
import org .apache .rocketmq .common .message .Message ;
30
27
import org .apache .rocketmq .common .message .MessageQueue ;
31
- import org .apache .rocketmq .connect .runtime .common .ConnAndTaskConfigs ;
32
28
import org .apache .rocketmq .connect .runtime .config .WorkerConfig ;
33
29
import org .apache .rocketmq .connect .runtime .converter .record .json .JsonConverter ;
34
30
import org .apache .rocketmq .connect .runtime .connectorwrapper .NameServerMocker ;
40
36
import org .apache .rocketmq .connect .runtime .utils .TestUtils ;
41
37
import org .apache .rocketmq .connect .runtime .utils .datasync .BrokerBasedLog ;
42
38
import org .apache .rocketmq .connect .runtime .utils .datasync .DataSynchronizerCallback ;
39
+ import org .apache .rocketmq .remoting .protocol .admin .TopicOffset ;
43
40
import org .assertj .core .util .Maps ;
44
41
import org .junit .After ;
45
42
import org .junit .Before ;
Original file line number Diff line number Diff line change 24
24
import io .openmessaging .connector .api .data .RecordPartition ;
25
25
import org .apache .rocketmq .client .consumer .DefaultLitePullConsumer ;
26
26
import org .apache .rocketmq .client .producer .DefaultMQProducer ;
27
- import org .apache .rocketmq .common .admin .TopicOffset ;
28
27
import org .apache .rocketmq .common .message .MessageQueue ;
29
28
import org .apache .rocketmq .connect .runtime .config .WorkerConfig ;
30
29
import org .apache .rocketmq .connect .runtime .connectorwrapper .NameServerMocker ;
33
32
import org .apache .rocketmq .connect .runtime .service .PositionManagementService ;
34
33
import org .apache .rocketmq .connect .runtime .service .local .LocalPositionManagementServiceImpl ;
35
34
import org .apache .rocketmq .connect .runtime .utils .ConnectUtil ;
35
+ import org .apache .rocketmq .remoting .protocol .admin .TopicOffset ;
36
36
import org .assertj .core .util .Maps ;
37
37
import org .junit .After ;
38
38
import org .junit .Assert ;
Original file line number Diff line number Diff line change 23
23
import org .apache .rocketmq .client .producer .DefaultMQProducer ;
24
24
import org .apache .rocketmq .client .producer .SendCallback ;
25
25
import org .apache .rocketmq .client .producer .selector .SelectMessageQueueByHash ;
26
- import org .apache .rocketmq .common .admin .TopicOffset ;
27
26
import org .apache .rocketmq .common .message .Message ;
28
27
import org .apache .rocketmq .common .message .MessageQueue ;
29
28
import org .apache .rocketmq .connect .runtime .config .WorkerConfig ;
30
29
import org .apache .rocketmq .connect .runtime .serialization .Serde ;
31
30
import org .apache .rocketmq .connect .runtime .serialization .Serializer ;
32
31
import org .apache .rocketmq .connect .runtime .utils .ConnectUtil ;
33
32
import org .apache .rocketmq .remoting .exception .RemotingException ;
33
+ import org .apache .rocketmq .remoting .protocol .admin .TopicOffset ;
34
34
import org .junit .After ;
35
35
import org .junit .Before ;
36
36
import org .junit .Test ;
You can’t perform that action at this time.
0 commit comments