Flink learn from 0 to 1 -- how to customize Data Source

Preface In Learn Flink from 0 to 1: introduction to Data Source In this article, I will introduce Flink Data Source and user-defined Data Source briefly. In this article, I will introduce it in more detail and write a demo for you to understand. Flink Kafka source Preparation Let's take a look at the demo for Flink to get data from Kafka ...

Posted by altemur on Sun, 27 Oct 2019 01:19:27 -0700

How to configure activeMq in springBoot

1. Install activeMq first Check whether the installation is completed. Enter similar in the browser: http://localhost:8161 /, access. If there is an access interface of activeMq, the installation of activeMq is successful (the precondition is to configure the java environment);2. Establish springBoot pr ...

Posted by TheNookie on Sat, 26 Oct 2019 09:57:04 -0700

Several common encryption algorithms

Article directory I. encoding format (this is not encryption in principle, but it is quite common) 2. Message digest algorithm 3. Symmetric encryption IV. asymmetric encryption Online encryption test tool Refer to related articles All the following codes are based on jdk8 All Apache based implemen ...

Posted by robviperx on Sat, 26 Oct 2019 02:56:32 -0700

FTPClient reads files continuously

Recently, when using FTPClient to continuously read the contents of multiple files on ftp, we encountered two problems: 1. In the for loop, FTPClient can only read the contents of the first file. When reading the second file, it encountered NPE problems. 2. The program is locked. Next, we will analyze the problems encountered and provide sol ...

Posted by PHPcadet on Fri, 25 Oct 2019 11:16:52 -0700

Shiro's many Realm certifications

Multi Realm authentication Problem introduction Implementation plan First, MD5 and sha1 encryption are implemented respectively. MD5 Sha1 Realize multi Realm authentication in the project Implement Mapper interface Implement the corresponding mapper.xml file service processing Add multi Realm con ...

Posted by Noctule on Fri, 25 Oct 2019 10:24:54 -0700

Apache Web page and security optimization -- web page compression and caching (combination of theory and practice!)

Apache Web page optimization overview >In an enterprise, only the default configuration parameters are used after Apache deployment, which will cause many problems in the website. In other words, the default configuration is for the previous lower server configuration. The previous configuration is no longer applicable in the Internet age. ...

Posted by madwormer2 on Fri, 25 Oct 2019 04:12:34 -0700

How to access Apache virtual host (operation part)

Experiment requirements: install Apache and DNS servicesAdd two network cards to the virtual machine[root@localhost ~]# yum install bind httpd -yAdd network card Building a virtual host based on domain name access 1. Provide domain name resolution for virtual host [root@localhost ~]# vim /etc/named.conf //Configure DNS master profile [roo ...

Posted by OmegaB on Thu, 24 Oct 2019 21:18:16 -0700

java upload zip file and extract it

Recently, I met such a demand: transfer a compression package to the background, decompress and read the files in the background after saving, and now I am learning to do it. Make a record here File upload There are many ways to upload files. Here I recommend one that I feel is very good to use. Here ...

Posted by ohjay on Thu, 24 Oct 2019 07:08:06 -0700

E-commerce project - commodity data retrieval

Learning topic: commodity data retrieval 1.Solr cluster, SolrCloud environment, data import (1) talk about the understanding of the object SolrCloud and the working process of data writing in SolrCloud. SolrCloud(solr cloud) is a distributed search solution provided by Solr. SolrCloud is used when y ...

Posted by ki on Thu, 24 Oct 2019 06:39:30 -0700

Swagger2: the interaction artifact of front and rear end

Swagger2: the interaction artifact of front and rear end Catalog Article directory Swagger2: the interaction artifact of front and rear end Preface Integration of SpringBoot and Swagger2 Notes on Swagger2 Preface It is believed that many individuals and companies have used the front-end and ...

Posted by hoppyite on Thu, 24 Oct 2019 03:14:09 -0700