1. JVM exploration?
Several interview questions:
1. Would you please talk about your understanding of jvm? Java 8 virtual machine and previous changes update? 2. What is oom? What is stack overflow? How to analyze? 3. What are the common tuning parameters for the jvm? 4. How to capture memory snapshots and analyze Dump files? 5. What ...
Posted on Mon, 06 Dec 2021 15:16:03 -0500 by Im Jake
1, Overview of producer consumer issues
Description: two or more threads share the same buffer. One or more threads as a "producer" will constantly add data to the buffer, and the other or more threads as a "consumer" will take data from the buffer. Note the following:
Producers and consumers must use buffers that ar ...
Posted on Sun, 05 Dec 2021 13:33:42 -0500 by gingerboy101
The transaction message of rocketmq is used as a solution to distributed transactions on some occasions. Today, let's analyze the transaction message of rocketmq
1. Transaction message flow process
2. The producer sends a transaction message (half message)
3. The broker handles the half message
4. The producer executes a local tr ...
Posted on Sat, 04 Dec 2021 21:41:55 -0500 by sawade
Maven installation and configuration
1, Download and install
go to https://Download the latest version of Maven at maven.apache.org/download.cgi
2, Custom storage directory
Extract the file to D:\Program Files\Apache\maven directory
3, Environment variable configuration
New environment variable MAVEN_HOME, assignment D:\Program Files\A ...
Posted on Mon, 29 Nov 2021 03:57:45 -0500 by Sarok
The original text is translated from DZone and translated freely according to the original text.Tencent cloud flow computing Oceanus is a powerful tool for real-time analysis of big data and is compatible with Apache Flink application. New users can 1 yuan purchase flow calculation Oceanus(Flink) cluster , readers are welcome to experience it. ...
Posted on Sat, 27 Nov 2021 23:56:32 -0500 by jf3000
Integrating Ribbon with RestTemplate
Spring provides a simple and convenient template class for API calls, that is, RestTemplate.
1. Use RestTemplate
When we introduced Eureka earlier, we have already used RestTemplate. This section will explain how to use RestTemplate in more detail. First, let's take a look at the use of GET requests: crea ...
Posted on Tue, 23 Nov 2021 05:54:00 -0500 by V0oD0o
1 view topics
The kafka-topics.bat script has five instruction types: create, list, describe, alter, and delete. The list and describe instructions can be used to easily view the topic information. We have touched on the usage of the describe instruction in the previous content, which will be described in more detail in this section.
You can ...
Posted on Tue, 23 Nov 2021 03:34:42 -0500 by watson516
kafka consumption data
At the same time, the data in kafka can only be consumed by one consumer under one consumer group.
kafka consumers are grouped when they consume data. The consumption of different groups is not affected. For the consumption in the same group, it should be noted that if there are 3 partitions and 3 consumers, t ...
Posted on Wed, 17 Nov 2021 11:07:48 -0500 by Cantaloupe
Kafka producer - writes data to Kafka
In addition to the built-in client, Kafka also provides a binary connection protocol, that is, we can read messages from or write messages to Kafka by directly sending appropriate byte sequences to the Kafka network port. Therefore, there are many Kafka clients implemented in languages, such as C + +, ...
Posted on Wed, 17 Nov 2021 06:01:27 -0500 by sysgenmedia