yjyyjy

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2019年4月12日

摘要: Case classes are like regular classes with a few key differences which we will go over. Case classes are good for modeling immutable data. In the next 阅读全文
posted @ 2019-04-12 10:50 闭关49天 阅读(257) 评论(0) 推荐(0) 编辑

2019年4月9日

摘要: > ./zkCli.sh -server zk1host:port,zk2host:port,zk3host:port >help ZooKeeper -server host:port cmd args stat path [watch] set path data [version] ls pa 阅读全文
posted @ 2019-04-09 17:55 闭关49天 阅读(213) 评论(0) 推荐(0) 编辑

摘要: Return: Map[TopicPartition, Long] Code: val props = new Properties() props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, kafkaPara("bootstrap.servers") 阅读全文
posted @ 2019-04-09 17:32 闭关49天 阅读(185) 评论(0) 推荐(0) 编辑

摘要: Problem description: There is error messge when run spark app using spark streaming Kafka version 0.10.0.1(https://spark.apache.org/docs/latest/stream 阅读全文
posted @ 2019-04-09 10:42 闭关49天 阅读(1132) 评论(0) 推荐(0) 编辑