Merge pull request #18 from xiongrenyi/dev

fix test case due to last commit
This commit is contained in:
Renyi Xiong 2016-01-04 10:51:32 -08:00
Родитель aa8dc0eb66 7fddb362d3
Коммит 3daa50cef5
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -31,11 +31,7 @@ namespace AdapterTest
var socketStream = ssc.SocketTextStream(IPAddress.Loopback.ToString(), 12345);
Assert.IsNotNull(socketStream.DStreamProxy);
<<<<<<< 1b025447650d8c2a36b151dfb9e1b5ed5039e5f7
var kafkaStream = ssc.KafkaStream(IPAddress.Loopback + ":2181", "testGroupId", new Dictionary<string, int> { { "testTopic1", 1 } }, new Dictionary<string, string>());
=======
var kafkaStream = KafkaUtils.CreateStream(ssc, "127.0.0.1:2181", "testGroupId", new Dictionary<string, int> { { "testTopic1", 1 } }, new Dictionary<string, string>());
>>>>>>> add an overload of UpdateStateByKey API and move kafka DStream to KafkaUtil class
var kafkaStream = KafkaUtils.CreateStream(ssc, IPAddress.Loopback + ":2181", "testGroupId", new Dictionary<string, int> { { "testTopic1", 1 } }, new Dictionary<string, string>());
Assert.IsNotNull(kafkaStream.DStreamProxy);
var directKafkaStream = KafkaUtils.CreateDirectStream(ssc, new List<string> { "testTopic2" }, new Dictionary<string, string>(), new Dictionary<string, long>());