03 2018 档案

摘要:kakfa官网上的几个例子: 环境: kafka集群, eclipse(win10) pom.xml 一. Pipe 这个例子的功能就是从streams-plaintext-input输入文本, 然后我们写的代码将输入的文本转到streams-pipe-output. streams-plainte 阅读全文
posted @ 2018-03-28 01:17 北极熊129 阅读(454) 评论(0) 推荐(0)
摘要:最近研究netty, 做了一个测试. 环境: laptop一台(4核8G),vmware虚拟4台vm(centos 7.3) 192.168.1.125 (4核2G) 192.168.1.121 (2核1G) 192.168.1.122 (2核1G) 192.168.1.123 (2核1G) 服务端 阅读全文
posted @ 2018-03-23 13:23 北极熊129 阅读(289) 评论(0) 推荐(0)
摘要:准备: 4台vm (centos 7.3): 一. 在node1,node2,node3安装mariadb, mariadb-server (以root用户安装) 1. yum安装 2. 启动服务 开机启动 3. 配置管理员密码 4. 配置远程访问 (mysql提示符以 mysql>表示) 二.配置 阅读全文
posted @ 2018-03-22 00:14 北极熊129 阅读(454) 评论(0) 推荐(0)
摘要:前言: 按照kafka的文档,搭建一个三个host的集群。当然和kafka的文档还是有区别的: 1). 未使用kafka自带的zookeeper 2). kafka文档是一个host的三个进程, 这里是使用三个host(vm),每个host运行一个kafka 准备: 三个vm,分别为node1, n 阅读全文
posted @ 2018-03-18 00:25 北极熊129 阅读(244) 评论(0) 推荐(0)
摘要:Heap is a special case of balanced binary tree data structure where the root-node key is compared with its children and arranged accordingly.If 'a' ha 阅读全文
posted @ 2018-03-11 21:58 北极熊129 阅读(439) 评论(0) 推荐(0)
摘要:TermsPath - Path refers to the sequence of nodes along the edges of a treeRoot - The node at the top of the tree is called root. . There is ONLY one r 阅读全文
posted @ 2018-03-11 19:50 北极熊129 阅读(214) 评论(0) 推荐(0)