Flink Summary - set Jvm parameters
jvm settings
http://www.360doc.com/content/12/1023/16/9615799_243296263.shtml
Heap setup
-Xms: initial heap size
-Xmx: maximum heap size
-20: Newsize = n: set younger generation size
-20: Newratio = n: set the ratio of young generation to old generation. For example, if it is 3, it means that t ...
Posted by rinkhals on Thu, 12 Mar 2020 04:03:51 -0700
Spark -- Transformation operator
Article directory
Transformation operator
Basic operator
1. map(func)
2. filter(func)
3. flatMap
4. Set operation (union, intersection, distinct)
5. Grouping (groupByKey, reduceByKey, cogroup)
6. Sorting (sortBy, sortByKey)
Advanced operator
1. mapPartitionsWithIndex(func)
2. aggregate
3. aggreg ...
Posted by brashquido on Thu, 12 Mar 2020 01:07:43 -0700
2.1 getting started with ActiveMQ (introduction, JMS, installation, use)
Article directory
What is ActiveMQ
What is JMS?
Object model of JMS
Message model of JMS
Message structure of JMS
Message header
Message attribute
Message body
Features of ActiveMQ
ActiveMQ installation
Make system service
Web management platform using ActiveMQ
Web management configuration
Using ...
Posted by shainh on Wed, 11 Mar 2020 04:22:26 -0700
Install SSL certificate on Apache server
The premise is that you buy the certificate first, download it, and open the certificate compression package with 3 files in total
Certificate file: with. crt as the suffix or file type.
Certificate chain file: with. crt as the suffix or file type.
key file: with. key as the suffix or file type.
Create a new cert directory in the Apache ...
Posted by dc277 on Tue, 10 Mar 2020 02:08:13 -0700
Request request summary
Request line:
Request Method, Request Address and Parameters
public class LineServlet extends HttpServlet {
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
//1. How to get the request
String method = request.getMethod( ...
Posted by witham on Mon, 09 Mar 2020 20:05:58 -0700
Java programmer practical machine learning -- starting from clustering algorithm
This article is suitable for programmers with programming experience. It is a machine learning "Hello world!" People who don't have much theoretical knowledge should take a detour.
Preface
Artificial intelligence is undoubtedly one of the hottest technical topics in recent years. The artificial intelligence technology represented b ...
Posted by nic9 on Mon, 09 Mar 2020 02:51:39 -0700
The most suitable Ribbon tutorial for beginners
What is Ribbon
Ribbon is a customer service load balancing tool based on HTTP and TCP, which is implemented based on Netflix Ribbon.
It is not deployed independently like Spring Cloud service registry, configuration center and API gateway, but it exists in almost every Spring Cloud microservice. Including the declarative service call provi ...
Posted by washbucket on Sun, 08 Mar 2020 22:52:43 -0700
[Spring Security + OAuth2 + JWT introduction to actual combat] 13. Third party QQ login and source code analysis
Source code analysis
Because spring security social is implemented based on social authentication filter, let's start with social authentication filter
When it comes to Filter, there must be a corresponding configuration class SocialAuthenticationFilter is no exception. Its corresponding configuration class is SpringSocialConfigurer. To make ...
Posted by raymie7 on Sun, 08 Mar 2020 05:20:00 -0700
The use and source code analysis of mybatis
Source code of the project: https://github.com/zhuquanwen/mybatis-learn/releases/tag/with-annotation
Construction process:
Based on the previous article, some processes are not described in detail. The previous source code has been attached. Please refer to the previous article: https://blog.csdn.net/u0 ...
Posted by davieboy on Sat, 07 Mar 2020 23:49:30 -0800
JWT generates token with error: secret key byte array cannot be null or empty
Want to get the most complete and detailed information of the whole network: (1022848328)
JWT generates token with error: secret key byte array cannot be null or empty
java.lang.IllegalArgumentException: secret key byte array cannot be null or empty.
at io.jsonwebtoken.lang.Assert.notEmpty(Asse ...
Posted by seddonym on Sat, 07 Mar 2020 06:09:19 -0800