Solve Bug Path - dubbo apps cannot reconnect zookeeper

Preface Dubbo is a mature and widely used framework.Rao is such that in some extreme cases dubbo-based applications will also have the problem of not being able to reconnect zookeeper.Because this problem is easy to cause relatively large failures, the author has spent a lot of time to locate, and now will write a blog to share the investigatio ...

Posted by rschneid on Tue, 07 Apr 2020 05:02:01 +0200

Introduction to Zookeeper and construction of stand-alone and cluster environment

1. Introduction to zookeeper Zookeeper is a distributed service framework, which used to be a sub project of Apache Hadoop. Now it is an independent top-level project of Apache. It is mainly used to solve some data management problems often encountered in distributed applications, such as unified nami ...

Posted by tymlls05 on Fri, 13 Mar 2020 04:08:03 +0100

Download, installation and configuration manual of Kafka's Confluent Platform in multi node cluster environment

1, introduction This topic provides instructions for installing the Confluent platform configuration that can be used for production in a multi node environment using the replicated ZooKeeper ensemble. With this installation method, you can manually connect to each node, download the archive file, and ...

Posted by lomokev on Thu, 27 Feb 2020 08:46:28 +0100

Lightweight RPC Design and Implementation 2nd Edition

In the previous version, netty was used to implement a simple one-to-one RPC, which required manual service address setup and was more restrictive. In this article, using zookeeper as a service registry, local service information is registered in zookeeper at service startup. When a client initiates a remote service call, the address of the ser ...

Posted by wilzy1 on Wed, 19 Feb 2020 18:51:56 +0100

Zookeeper's practice and principle analysis of distributed topic-04 distributed coordination service

Directory navigation Preface data storage Using zookeeper based on Java API Event mechanism How to register event mechanism watcher event type What kind of operation will produce what kind of event? Implementation principle of transaction In depth analysis of the implementation principle of Watcher ...

Posted by jordz on Wed, 19 Feb 2020 15:25:28 +0100

Flink uses Broadcast State to realize real-time update of streaming configuration

Source link: http://shiyanjun.cn/archives/1857.html , thanks for sharing. Broadcast State is an Operator State supported by Flink. Using Broadcast State, you can input data records in a Stream of Flink program, and then broadcast these data records to each Task downstream, so that these data records ...

Posted by ryan.od on Tue, 21 Jan 2020 07:03:21 +0100

Using Kafka under Windows

1, Prepare ZooKeeper Download the latest stable version from the official website: 3.5.6 . After downloading, extract it to the local location, find zoo_sample.cfg in the conf directory, rename it to zoo.cfg, and modify the data storage directory in it: #dataDir=/tmp/zookeeper dataDir=D:/hecg/apache-zookeeper-3.5.6-bin/data Start with git com ...

Posted by daverules on Mon, 20 Jan 2020 18:22:24 +0100

SpringBoot integration org.apache.Dubbo

SpringBoot integration org.apache.Dubbo 1. Preface As an excellent RPC framework, Dubbo has a large number of users in China. Since Dubbo was donated to the Apache Foundation by Ali in February 2018, it seems that Dubbo has brought new life to Apache Dubbo under its new name.Although the Spring Clou ...

Posted by zysac on Sat, 18 Jan 2020 02:54:04 +0100

Zookeeper installation (Mac), configuration, common commands and simple java instance

Zookeeper introduction zookeeper is a distributed service framework, which is mainly used to solve data management problems in distributed applications, such as unified naming service, state synchronization service, cluster management, distributed application configuration item management, etc. zookee ...

Posted by XeroXer on Mon, 13 Jan 2020 04:09:59 +0100

Source code analysis Dubbo configuration rule mechanism (override protocol)

In the previous section, when explaining the RegistryDirectory, the dubbo administrator can modify the parameters of dubbo service provider online through the dubbo admin management system, and finally store them in the configurators catalog of the registry, and then notify the RegistryDirectory to update the relevant attributes in the URL of t ...

Posted by Tucker1337 on Tue, 31 Dec 2019 22:25:30 +0100