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:
Mingyu Chen
2019-05-30 21:23:37 +08:00
committed by ZHAO Chun
parent fa4ac9f751
commit 180d8e5cbd
7 changed files with 9 additions and 12 deletions

View File

@ -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;
}
};

View File

@ -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;