Flume+kafka deployment scheme

Deploy Flume to the application server Source,Channel,Sink What types are there? Flume Source Source type | Explain Avro Source | Support Avro Agreement (actually Avro RPC),Built in support Thrift Source | Support Thrift Protocol, built-in support Exec Source ...

Posted on Sun, 20 Jan 2019 02:45:13 -0500 by yankeefan238

Springcloud Electronic Mall System java B2B2C - Service Consumer (rest+ribbon)

Introduction to ribbonRibbon is a client side load balancer which gives you a lot of control over the behaviour of HTTP and TCP clients. Feign already uses Ribbon, so if you are using @FeignClient then this section also applies. From the official website Ribbon is a load balancing client, which can control the behavior of htt and tcp very well. ...

Posted on Sat, 19 Jan 2019 21:27:13 -0500 by noon

High Level REST Client Visits Aliyun 6.3 Elastic search Instance Implementation

Development environment: InteliJ IDEA Operating system: macOS Mojave Elastic search version: Aliyun 6.3.2_with_X-Pack Client version: REST Client 6.3.2 1. Create Aliyun ES instance in advance and open the whitelist of public address access. 2. Pre-create index and mapping (using Kibana Dev Tools) mappings: book properties: (book_id (keywor ...

Posted on Sat, 19 Jan 2019 20:36:12 -0500 by phpjaco

Tomcat Configuration and Principle

Architecture Pictures from http://www.cnblogs.com/qq951785919/ Core components Server Server: Represents an instance of tomcat, a java process represented; listens on port 8005 and only receives "SHUTDOWN". The ports that servers listen on cannot be the same, so when multiple instances are started on the same phy ...

Posted on Sat, 19 Jan 2019 07:33:12 -0500 by altumdesign

Linux installation Apache error reporting: Cannot find a valid baseurl for repo: base/7/x86_64 solution

Recently, when installing Apache with CentOS 7, using yum to install Apache error reporting: This article is suitable for CentOS 7 and RHEL7 # yum install httpd Appearance: cannot find a valid baseurl for repo:base/7/x86_64. To solve this problem, there are a lot of solutions on the Internet, saying that the network is not working, but many o ...

Posted on Sat, 12 Jan 2019 23:06:10 -0500 by matt6805

Essential Differences of Spark on yarn client & cluster Patterns from the Source Code Perspective

First of all, distinguish between AppMaster and Driver. Any task running on yarn must have an AppMaster, and any Spark task will have a Driver. Driver is the process running SparkContext (which will build Task Scheduler and DAGScheduler). Of course, you can do many non-Spark things on Driver, which will only be performed on Driver, but by Spark ...

Posted on Fri, 11 Jan 2019 02:21:11 -0500 by sing2trees

Spring Boot must be started through spring-boot:run after integrating jsp?

Why do you have to start with spring-boot:run after integrating jsp? background stay Spring Boot - Integrating Jsp/FreeMarker In this article, we use two ways to start mvn clean spring-boot:run main method startupTest results show that jsp pages can be rendered normally by maven boot, but can not be rendered by main method boot. this paper ana ...

Posted on Wed, 09 Jan 2019 21:18:09 -0500 by AGISB

Java compression technology decompression, support: ZIP, RAR, 7Z, TAR, GZ, TAR.GZ, BZ2, TAR.BZ2

Preface This article focuses on the operation of Java decompression, and a subsequent article on compression will be written. Reminder: Some of the fragments in the article seem to have a lot of code. In fact, there are only a few sentences to remove trycatch and release resources that are really useful. In fact, decompression is very simple. I ...

Posted on Wed, 09 Jan 2019 05:12:10 -0500 by puREp3s+

Zookeeper client error: Packet len8854970 is out of range!

Home page: www.howardliu.cn Bowen: Zookeeper client error: Packet len8854970 is out of range! This is a production environment using zookeeper exceptions, the error is java.io.IOException: Packet len8854970 is out of range!. Then I changed a namespace, and there was no mistake. I thought it happened by accident, so I didn't pay attention to ...

Posted on Tue, 08 Jan 2019 14:09:10 -0500 by PHPSpirit

A RUNNABLE state thread hang s on the java.io.FileOutputStream.writeBytes method

1. Background of the problem web projects need to pull data from other systems at regular intervals, and do a regular job with Quartz. During debugging, in order to know the operation of the job, the root logger of the logback is transferred from warn to debug. The root logger has two appenders, one is Console appender and the other is Rolling ...

Posted on Tue, 08 Jan 2019 12:06:10 -0500 by Das Capitolin