Version F spring cloud 4 - Eureka registry development and client development
Source address: https://gitee.com/bingqilinpeishenme/Java-Tutorials
Preface
In the first three articles, the concepts related to microservices, spring cloud and service governance are introduced in large vernacular, and the development of spring cloud code starts from this article.
Spring cloud project environment construction
All demo s of ...
Posted by hypedupdawg on Sun, 29 Mar 2020 02:50:24 -0700
The use of BeanListHandler interface in DBUtils
Original link: http://www.yiidian.com/dbutils/dbutils-beanlisthandler.html
org.apache.commons.dbutils.BeanListHandler is the implementation of the ResultSetHandler interface, and is responsible for converting all records at the ResultSet result level to the List collection of JavaBean s. This class is thread safe.
1 syntax for beanlisthandler
L ...
Posted by codygoodman on Sat, 28 Mar 2020 07:55:12 -0700
Hive is finally waiting, Flink
When did Apache Spark start to support the integrated Hive feature? I believe that as long as readers have used Spark, they will say that this is a long time ago.
When does Apache Flink support integration with Hive? Readers may be confused. Haven't they supported it yet, haven't they used it? Or the latest version only supports it, but the fu ...
Posted by elfeste on Fri, 27 Mar 2020 03:09:45 -0700
Changing Apache to run php in fastcgi mode under windows
Recently, we are using the Phalcon 3.3 framework, the local environment is wampserver, and php7.0 is selected. It is found in the project that using curl to request other interfaces of the project or other interfaces of the project report errors. If you switch to php5.6, you can request normally. After trying many methods, you ...
Posted by boinnk on Thu, 26 Mar 2020 09:07:55 -0700
Netflix Hystrix service monitoring of Spring Cloud series
Actuator
In addition to service fault tolerance, Hystrix also provides near real-time monitoring function, which collects the service execution results and running indicators, the number of successful requests, etc. through the activator, and then accesses / Actor / Hystrix.stream to see the real-time monitoring data.
Add dependency
...
Posted by roninblade on Wed, 25 Mar 2020 20:10:13 -0700
Talk about skywalking's metric exporter
order
This paper mainly studies the metric exporter of skywalking
metric-exporter.proto
skywalking-6.6.0/oap-server/exporter/src/main/proto/metric-exporter.proto
syntax = "proto3";
option java_multiple_files = true;
option java_package = "org.apache.skywalking.oap.server.exporter.grpc";
service MetricExportService {
rpc export (stream Ex ...
Posted by rockstarmike on Wed, 25 Mar 2020 09:17:40 -0700
linux Getting Started Series 18--Apache Service 2 for Web Services
In the next article, after learning about Apache's basic configuration and SELinux, continue demonstrating the virtual host capabilities and access control methods provided by Apache.
If you haven't looked at the last suggestion, look at it first and come back later, last article " linux Getting Started Series 18--apache service 1 for Web ...
Posted by WarDeities on Tue, 24 Mar 2020 20:03:51 -0700
Cassandra best practice configuration
In this article, we mainly introduce the related configurations of Cassandra. I will introduce the related configurations of Cassandra according to the horizontal dimension of cluster and node. I may not list some configurations here. Please refer to the detailed introduction in cassandra.yaml. How to configure Cassandra needs to be in the C un ...
Posted by mysqlnewjack on Mon, 23 Mar 2020 09:13:20 -0700
How to decode URL in Java?
In Java, I want to convert it to:
https%3A%2F%2Fmywebsite%2Fdocs%2Fenglish%2Fsite%2Fmybook.do%3Frequest_type
In this regard:
https://mywebsite/docs/english/site/mybook.do&request_type
Here's what I've done so far:
class StringUTF
{
public static void main(String[] args)
{
try{
String url =
...
Posted by Arya on Sat, 21 Mar 2020 07:12:15 -0700
[Spring Security + OAuth2 + JWT entry to actual combat] 20. Password modification login returns standard oauth2 message
brief introduction
Before modification, password login returns standard OAuth2 login success message
Technological process
Refer to this process to generate a token in the login success processor HkAuthenticationSuccessHandler and return:
This is a successful processor copied from the previous browser project. We need to install the abov ...
Posted by Maknis on Wed, 18 Mar 2020 09:05:42 -0700