Inheritance, Logging, Compression in Feign of Spring Cloud

The last article shared with you the basic usage of Feign, a declarative micro-service invocation component. I believe you have learned the benefits of using Feign. Feign effectively solves the problem of code template when using RestTemplate, which makes the invocation between services easier and more ...

Posted by Hillary on Mon, 05 Aug 2019 10:23:22 +0200

ASP.Net Core Distributed Communication--Serialization

1. Serialization of Net Core 1.1 json.Net Common toolkits, such as Newtonsoft.Json, are components of serialization and deserialization based on json format json.net has the following advantages: Intrusivity: Serialization can be done without adding attribute s Flexibility: Flexible configurations, such as allowing serialized members to cu ...

Posted by railanc4309 on Sun, 04 Aug 2019 16:42:42 +0200

Web Pack 4 Learning Path-7-Optimizing Operations

Before that, my main note was to explain the operation of webpack. Next, I will mainly record the optimization of webpack. noParse When we introduce a command such as JQimport jquery from jquery into index.js file to parse this sentence, we will enter the JQ file by default and continue parsing to see ...

Posted by paulsiew2 on Sun, 04 Aug 2019 09:12:38 +0200

nginx lua integrated kafka

NGINX lua integrated kafka Step 1: Enter the opresty directory [root@node03 openresty]# cd /export/servers/openresty/ [root@node03 openresty]# ll total 356 drwxr-xr-x 2 root root 4096 Jul 26 11:33 bin drwxrwxr-x 44 1000 1000 4096 Jul 26 11:31 build drwxrwxr-x 43 1000 1000 4096 Nov 13 2017 bundle -rwxrwxr-x 1 1000 1000 45908 Nov 13 20 ...

Posted by damdempsel on Sat, 03 Aug 2019 10:05:15 +0200

Teach you how to use vue to develop webpage wechat sharing function

First of all, you will have vue. Second, you will have Wechat Public Number 1. Appid 2. The key is equivalent to your Wechat Authentication ID Card. No nonsense!! The following direct approach Look at this first without a public number Public Number Opens Course Look at your id in the basic configura ...

Posted by kincet7 on Fri, 02 Aug 2019 07:46:57 +0200

Free docking case of API interface for Zhongtong Express Logistics Single Query

Express inquiry API interface uses the logistics number to query the logistics information.Mainly used in e-commerce stores, ERP systems, WMS systems, express cabinets, banks and other enterprises.Several express logistics companies have unified interface access. It is recommended that docking interface providers can access more than one expre ...

Posted by someguyhere on Wed, 31 Jul 2019 19:12:47 +0200

traefik Ingress https configuration

Environmental Science . kubernetes 1.14.3 . traefik V1.7.12 .IP 192.168.30.35 .kubectl label nodes ingress ingress=yes https certificate application It is recommended to apply for free certificate with acme.sh. The specific method is not described in detail.Use self-visa openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out ...

Posted by MiCR0 on Wed, 31 Jul 2019 18:03:36 +0200

Laravel combines with Wang Editor 3 rich text editor to publish articles and upload multiple pictures

Write in front Define routing Route::post('article/image/upload', 'ArticleController@imageUpload'); (2) Modify the configuration file config/filesystems.php, the other defaults will be fine. // 'default' => env('FILESYSTEM_DRIVER', 'local'), 'default' => env('FILESYSTEM_DRIVER', 'publi ...

Posted by lordphilippe on Wed, 31 Jul 2019 14:02:15 +0200

tcp protocol sticking problem

Sticky packet problem is caused by the way of streaming data transmission in tcp protocol Give an example: from socket import * client = socket(AF_INET, SOCK_STREAM) client.connect(('127.0.0.1', 8081)) # Communication cycle while True: cmd=input('>>: ').strip() if len(cmd) == 0:continue client.send(cmd.encode('u ...

Posted by damnsaiyan on Wed, 31 Jul 2019 04:25:16 +0200

@ What is the difference between Validated and @Valid? Check cascade attributes (internal classes)

Every sentence There are two big jokes in the NBA: Kobe Bryant is not talented, and James is not skilled. Relevant Reading [Xiaojia Java] Deep understanding of data validation: Java Bean Validation 2.0 (JSR303, JSR349, JSR380) Hibernate-Validation 6.x use case[Home Spring] Let Controller support data validation of tiling parameters (default S ...

Posted by Japet on Tue, 30 Jul 2019 18:38:13 +0200