Summary of Basic Instructions for Installing Kafka in CDH - topic uses and tests producer to generate data, consumer consumption data

Here is a summary of some of the more basic instructions for the kafka test I installed in the CDH. 1. Related Basic Contents Each host in the Kafka cluster runs a server called a proxy that stores messages sent to the subject and serves consumer requests. First, look at the instance information o ...

Added by bapi on Sat, 22 Feb 2020 05:00:13 +0200

Dubbo: in depth understanding how Dubbo source code publishes services to the registry

I. Preface As mentioned earlier, Dubbo's service discovery mechanism, that is, SPI. Now that Dubbo has implemented a more powerful service discovery mechanism, let's take a look at what Dubbo needs to do to register services in the registry after discovering services. 2, Introduction to Dubbo service registration The first thing to understand i ...

Added by forsooth on Tue, 11 Feb 2020 14:54:46 +0200

Flink notes: Flink integrates Kafka

1. Preparation 1.ZooKeeper cluster installation: if you do not know about ZooKeeper installation, please click the link to learn: Installation of ZooKeeper cluster 2.Kafka cluster installation: if you do not know the installation of ZooKeeper, please click the link to learn: Installation of Kafka clus ...

Added by airric on Fri, 07 Feb 2020 10:52:02 +0200

The development of dynamic perception program for distributed application system server_

I. function 1. Dynamic changes in the number of servers 2. The client can dynamically monitor the online server 3. Specific ideas: (1) as soon as the server is started, go to zookeeper to register the information (create). Pay attention to using temporary nodes when registering instead of permane ...

Added by Galahad on Sun, 26 Jan 2020 17:26:51 +0200

Dubbo Getting Started to Actual Warfare

Frontier: Dubbo is a very popular technology in today's popular distributed architecture, allowing days of free time to learn and work on later projects to pave the way for later distributed projects. Introduction to Dubbox Dubbox is a distributed service framework, its predecessor is the Alibaba open source project Dubbo, which is used by dom ...

Added by mepaco on Tue, 14 Jan 2020 19:30:16 +0200

SpringBoot2 integrates Zookeeper components to manage service coordination in the architecture

Source code for this article: GitHub. Click here || GitEE. Click here 1. Introduction to Zookeeper Foundation 1. Introduction to concepts Zookeeper is an Apache open source, distributed application that provides a coordinated service for the system architecture.Viewed from the design mode perspective, this component is a framework based on the ...

Added by mesz on Fri, 10 Jan 2020 02:01:38 +0200

[From Getting Started to Abandoning-ZooKeeper] ZooKeeper Actual-Distributed Lock-Upgrade

Preface Above [From Getting Started to Abandoning-ZooKeeper] ZooKeeper Actual-Distributed Lock In ZooKeeper, we implement a distributed lock by utilizing the temporary node feature of ZooKeeper.However, it is a polling method to determine whether a continuous attempt to acquire a lock is necessary for the CPU to idle, and the herding effect is ...

Added by thinsoldier on Wed, 11 Dec 2019 08:43:43 +0200

Kafka cluster installation and configuration

(I) environment introduction1. Server related settings:1,kafka1:172.20.67.522,kafka2:172.20.67.563,kafka3:172.20.67.57 2. Three ports required by zookeeper1,21812,28883,3888Functions of three ports:2181: providing services to clients2888: use of machine communication in the cluster (the Leader listens to this port)3888: election leader use 3. ...

Added by f1nutter on Mon, 09 Dec 2019 02:40:08 +0200

Flume and Kafka connectivity test

1. Kafka installation and configuration 1.1 download Kafka Download Kafka, kafka_2.11-2.1.1.tgz on the official website. 1.2 decompression Extract to the specified directory. tar -zxvf -C your directory 1.3 start kafka Switch to the installation path of kafka and start zookeeper bin/zookeeper-server-start.sh config/z ...

Added by godwheel on Sat, 30 Nov 2019 07:31:38 +0200

[dubbo] 3. Using maven to build dubbo environment (demo)

Article directory 1 create provider 1-1 create maven project 2 create provider 3 configuration provider 4 configure consumers 5 configure consumers 1 create provider Build with idea. 1-1 create maven project Demand analysis: The demo of hello, the consumer transfers the user name, and the provider decompose ...

Added by designedfree4u on Wed, 06 Nov 2019 22:55:04 +0200