Kafka cluster construction and necessary knowledge and meeting

Kafka cluster deployment and startup In this article, we will start by demonstrating how to build a Kafka cluster, and then briefly introduce some basic knowledge points about Kafka cluster. However, this paper only introduces the cluster, and does not explain the basic concept of Kafka too much. It is assumed that the reader has some basic kn ...

Posted on Thu, 04 Jun 2020 18:21:26 -0700 by Stonewall

Shiro implements RememberMe functionality

This article describes and implements the RememberMe function in Shiro. 1 introduce Shiron provides the ability to remember me, such as when visiting websites like Taobao, closing the browser and remembering who you are the next time you open it, and accessing it without having to sign in again the next time you visit. The basic process is as ...

Posted on Thu, 04 Jun 2020 15:23:18 -0700 by V_dirt_God

java socket programming for client and server to receive information

java socket programming for client and server to receive information #Learning Notes/Programming/socket tcp/IP Four-Layer Model Link Layer: Data Physical Layer, Optical Fiber, Network Cable, etc. Network layer: Used to group transmitted data and assign it to the appropriate computer or port Tran ...

Posted on Thu, 04 Jun 2020 12:45:15 -0700 by anf.etienne

Hadoop example: calculating the total amount of stock transactions

The optional Cloud Computing and Big Data Overview final job requires a stock case study with the following specific requirements: Case: Attachment Document TextData.txtThe file (shown in Fig. 1) shows the trading data of the daily stocks from 2011-1 to today, the trading data of the daily stocks, the t ...

Posted on Thu, 04 Jun 2020 11:54:49 -0700 by poppy

Play Redis - Introduction to Redis

Play Redis - Introduction to Redis Introduction to Redis 1. Overview of Redis 2. Redis usage scenarios 3. Basic Types Four SpringBoot Integrated Redis (1) Introducing dependencies (2) yml configuration (3) Injection Template starts (4) Write Config classes (5) Writing service classes Introdu ...

Posted on Thu, 04 Jun 2020 11:54:06 -0700 by ~J~R~R

MyBatis integrates dual data sources

Sometimes in a project, there are situations where you need to connect two databases. This article will talk about how to use dual data sources (or multiple data sources) in combination with Spring and Mybatis. Background introduction The key to implementing multiple data sources in this article is the AbstractRoutingDataSource provided by Spri ...

Posted on Thu, 04 Jun 2020 11:09:39 -0700 by smallflower

JEECG deployment: the problem of Alpine image

In this article, I want to remember the problems of using Alpine image in JEECG deployment. Dockerfile FROM nginx:1.18-alpine MAINTAINER liumiao liumiaocn@outlook.com RUN apk update \ && apk add openjdk8-jre-base \ && touch /etc/init.d/start.sh \ && chmod +x /e ...

Posted on Thu, 04 Jun 2020 10:22:59 -0700 by Onle

1018 hammer scissor cloth (20 points) PAT Java code to realize Niu Ke AC

1018 hammer scissors (20 points) Everyone should be able to play the game of "hammer, scissors and cloth": two people give gestures at the same time, and the winning and losing rules are as shown in the figure: Here is the record of the fight between the two. Please count the number of wins, ...

Posted on Thu, 04 Jun 2020 07:22:11 -0700 by jonno946

MyBatis: Reverse Engineering

catalog 1, What is reverse engineering? 2, Characteristics of MyBatis reverse engineering 1. Advantages of MyBatis reverse engineering 2. Disadvantages of MyBatis reverse engineering 3, MyBatis reverse engineering construction 1. Add dependency pom.xml 2. Create MBG profile generatorConfig.xml 3. ...

Posted on Thu, 04 Jun 2020 06:45:24 -0700 by millsy007

(imitating the headline APP project) 6. The clicked news list text is grayed out and pulled down to refresh and scroll to load the news data

Article catalog 1, Clicked news list text is grayed out design sketch Realization ideas Import ORM Lite database class dependency Using ORM Lite to create database and table Create database class MyDbHelper Create news entity class NewInfo in database Page transaction coding List click event Judg ...

Posted on Thu, 04 Jun 2020 05:33:21 -0700 by lalov1