fabric1.4.2 migrated from kafka to raft (command version)

fabric1.4.2 migrated from kafka to raft (command version) See in detail the principles on which implementation depends. https://blog.csdn.net/qq_42750537/article/details/96428765 This article is used to record specific orders and problems encountered. Constructing RatfMetadata Get available confi ...

Posted by mizz key_me on Tue, 30 Jul 2019 05:30:41 +0200

Go Language for an article (typesetting)

Introduction: Google language is the most popular programming language in recent years. It is a static, compiled, concurrent programming language developed by Google with garbage collection function. GoLanguage has two characteristics: high development efficiency and high execution efficiency. It is known as C language in the era of cloud compu ...

Posted by Nabster on Mon, 29 Jul 2019 07:08:26 +0200

[Spring cloud realizes advertising system step by step] 4. General code module design

A large system must be essential for code reuse. It can solve the following problems: Unified Response Processing (Unified Response Object Packaging for Outside) graph LR HTTP-->|HttpRequest|RestController RestController-->|HttpResponse -> JSON|HTTP Unified exception handling (business exceptions can be collected and handled unif ...

Posted by FiveFlat on Sat, 27 Jul 2019 14:16:22 +0200

Using Kube builder to develop kubernetes CRD

Original address Extending kubernetes is the two most commonly used and most needed things to master: custom resources CRD and adminsion web hook. This article teaches you how to master CRD development in 10 minutes. kubernetes allows users to customize their own resource objects, just like deployment stateful settings, which are widely used. F ...

Posted by freshneco on Sat, 27 Jul 2019 09:20:43 +0200

Y Services - Do you really know Yaml?

In the Java world, configurations are left to Properties, a module that dates back to the old JDK1.0. "My God, it was 20 years ago and I was still using it Properties.." However, the main character of this article is not Properties, but Yaml.This is a favorite of the microservice architecture in the new era, and Yaml seems a bit wet compare ...

Posted by shahansudu on Fri, 26 Jul 2019 21:12:32 +0200

Web-Servlet Technology Stack of Spring Framework Documents

Spring Web MVC DispatcherServlet Use Java configuration or web.xml to declare and map according to the Servlet specification. The Spring configuration is then used to discover the delegate components needed for request mapping, view resolution, exception handling, etc. Servlet configuration public class MyWebApplicationInitializer implements ...

Posted by dopp on Thu, 25 Jul 2019 05:47:30 +0200

VUE-How to Implement Pure Front-end Export Excel Files

Excel export can be achieved in the background, but if the front desk already has the required data, it can also be exported in the front-end pure js. There are many libraries supporting the operation of excel. This paper introduces the implementation of Excel export function by xlsx. Installation ...

Posted by agent007 on Wed, 24 Jul 2019 08:10:14 +0200

In MVC Controller, requests are intercepted and processed at will, regardless of custom routing.

MVC in Asp.net is mainly oriented to Content-Type of "text" type to handle HTTP requests. In addition to file transfer, even json and xml are text types. Therefore, MVC naturally handles input and output of text type very well. Sometimes, however, this does not satisfy us. What happens when we want to transfer binary byte [] ...

Posted by riespies on Tue, 23 Jul 2019 23:13:18 +0200

Registry Construction Practice

1. Building Private registry 1. Regisry Mirror Transfer Test host ip: 192.168.192.225 (Intranet Machine)With the help of other machines that can access the public networkDocker search registry and docker save-o. / registry. tar Copy to 192.168.192.225 machine docker load-i registry.tar to transfer the docker image of registry Label:[root@node1 ...

Posted by illuz1on on Tue, 23 Jul 2019 21:17:41 +0200

uniapp + bootstrapvue Mobile/PC Set Configuration Bootstrapvue

1. Preparing documents Go to DCloud website by yourself: http://dcloud.io/ Download the official IDE Hbuilder and create an empty uniapp project. uniapp framework comes with optimized vue, we only need to prepare the following three files: Bootstrap.min.css//bootstrap 4 or more. https://unpkg.com/bootstrap@4.3.1/dist/css/bootstrap.min.css boots ...

Posted by tams on Tue, 23 Jul 2019 19:19:07 +0200