Modify some thirdparties (#1228)
1. Change Kafka java client from 2.0.0 to 0.10.1.1. Because high version client may not support low server server. 2. Enable SSL in librdkafka
This commit is contained in:
@ -52,7 +52,6 @@ import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.time.Duration;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@ -294,7 +293,7 @@ public class KafkaRoutineLoadJobTest {
|
||||
result = tableId;
|
||||
table.getType();
|
||||
result = Table.TableType.OLAP;
|
||||
kafkaConsumer.partitionsFor(anyString, (Duration) any);
|
||||
kafkaConsumer.partitionsFor(anyString);
|
||||
result = kafkaPartitionInfoList;
|
||||
}
|
||||
};
|
||||
|
||||
@ -39,7 +39,6 @@ import org.apache.kafka.common.PartitionInfo;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.time.Duration;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
||||
@ -213,7 +212,7 @@ public class RoutineLoadJobTest {
|
||||
result = database;
|
||||
database.getTable(anyLong);
|
||||
result = table;
|
||||
kafkaConsumer.partitionsFor(anyString, (Duration) any);
|
||||
kafkaConsumer.partitionsFor(anyString);
|
||||
result = partitionInfoList;
|
||||
partitionInfo.partition();
|
||||
result = 1;
|
||||
|
||||
Reference in New Issue
Block a user