Kafka Quick Start - Kafka Cluster Deployment
Kafka Quick Start (6) - Kafka Cluster Deployment
I. Kafka Cluster Deployment Plan
1. Operating system selection
In general, production environments should deploy Kafka clusters on Linux operating systems for the following reasons:(1) At the bottom of the Kafka client, Java selector is used. The implementation mechanism of selector on Linux is ...
Posted by colesw on Mon, 25 May 2020 11:24:58 -0700
Kafka Core API - Stream API
Kafka Stream concepts and initial high-level architecture diagrams
Kafka Stream is a new Feature introduced by Apache Kafka from version 0.10 that provides streaming and analysis of data stored in Kafka.In short, Kafka Stream is a class library for stream computing, similar to Storm, Spark Streaming, Flink, but much lighter.
Basic concepts of ...
Posted by Dujo on Sun, 24 May 2020 09:39:16 -0700
[DNS] Ubuntu 14.04 deploy local DNS Service
1, Background
In the Intranet environment, you need to install the local DNS service at many times. Take the ubuntu 14.04 64 bit operating system environment as an example to illustrate the DNS server building method.
2, Deployment steps
2.1 install bind software
# apt-get install bind9 -y
2.2 edit profile
A. add a custom domain name reso ...
Posted by ramas on Tue, 05 May 2020 18:03:14 -0700
Site online linkage ELK log entry
ELK schema log processing logic:
1. When Filebeat is installed in the business layer, it will automatically obtain the domain name and environment information of the host running site, add channel and env tags, and take the value of channel as the topic information of kafka
2. Kafka receives the new field and Topic information of Filebeat, and ...
Posted by BluntedbyNature on Tue, 05 May 2020 17:52:59 -0700
Go Language (18) context & Log Items
Context&log items
context
Method to cancel goroutine in general scenarios
var wg sync.WaitGroup
var exit bool
func worker(exitChan chan struct{}) {
LOOP:
for {
fmt.Printf("work\n")
time.Sleep(time.Second)
/*if exit {
break
}
*/
select {
case <- exitChan:
break LOOP
...
Posted by loopykd on Mon, 04 May 2020 16:40:51 -0700
java implementation of spark streaming and kafka integration for flow computing
java implementation of spark streaming and kafka integration for flow computing
Added on June 26, 2017: took over the search system, and in the past half year, I have gained a lot of new experience. I'm lazy to change this vulgar article. Let's take a look at this new blog to understand the following vulgar code, http://blog.csdn.net/yujishi2 ...
Posted by rednax on Thu, 30 Apr 2020 23:48:23 -0700
Apache Kafka Study Notes
quick get start
install
Docker installation single Kafka
docker pull wurstmeister/zookeeper
docker pull wurstmeister/kafka
docker run -d --name zookeeper -p 2181:2181 wurstmeister/zookeeper
docker run -d --name kafka -p 9092:9092 -e KAFKA_BROKER_ID=0 -e KAFKA_ZOOKEEPER_CONNECT=Host computer IP:2181 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127 ...
Posted by ghost007 on Fri, 24 Apr 2020 00:00:49 -0700
[Spark] Spark Basic Exercises
I've got a bunch of Spark questions again, this time SparkStreaming!!!
Say nothing more, Top!!!
The title is as follows_
Following is an apology for the failure of the RNG S8 8 Final Competition on Weibo Data description:Data in rng_comment.txt file
field
Meaning
index
Data id
child_comment
...
Posted by php? on Fri, 17 Apr 2020 00:07:58 -0700
Laravel6 for third-party WeChat login
At present, many websites will have a lot of interactive functions, which reduces the user's operational difficulty, thus bringing the third-party login of WeChat to the project real-world function development.For the development content in this example, instead of using native content, use the encapsulated class libraries written by others dir ...
Posted by johnoc on Tue, 24 Mar 2020 19:58:08 -0700
Message Queue NSQ with You to Get Started
I've seen NSQ before and haven't seen it yet.Just when I have time today, I set up a simple try to get the message queue NSQ in this Go Language, which I'll briefly record here.
In fact, NSQ is used relatively little in China. I think I know such a thing here. Just look at the source code a little and learn something.
Introduction to NSQ
NSQ i ...
Posted by CentralOGN on Sun, 22 Mar 2020 10:30:03 -0700