[RocketMQ] SpringBoot integrates RocketMQ transactions
1, Overview
Distributed transaction messages are a unique feature of RocketMQ. In many scenarios, the strong consistency of transactions is not required, but only the final consistency of transactions. At this point, transaction messages can well meet the requirements.
By putting the local transaction and message sending into one local tr ...
Posted by pazzy on Sun, 28 Nov 2021 16:58:58 +0100
spring boot integrates kafka and detailed explanation of kafka design principle
Java client access Kafka
Introducing maven dependency
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.4.1</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId> ...
Posted by aznkidzx on Thu, 25 Nov 2021 23:40:46 +0100
[Elasticsearch] learning notes - getting to know Elasticsearch
Video directions 👉
Station B dark horse micro service Super recommended!!
Getting to know Elasticsearch
1. Understand ES
Elastic search is a very powerful open source search engine with many powerful functions, which can help us quickly find the content we need from massive dataElastic search combines kibana, Logstash and Beats, that is ...
Posted by balsdorf on Wed, 17 Nov 2021 12:23:48 +0100
Presto introduction - deployment + ES and MySQL integration + Spring Boot integration + paging query + SQL performance optimization
Presto instructions
1, Presto introduction
1.1 official document address of Presto
https://prestodb.io/docs/0.255/index.html
Note: This is Presto-0.255 Version official document. If you want to refer to other versions, replace "255" with the corresponding version number.
1.2 schematic diagram of Presto architecture
1.2.1 Pres ...
Posted by phpwannabe25 on Sat, 06 Nov 2021 03:46:42 +0100
Use IHttpClientFactory to make HTTP requests in ASP.NET Core
IHttpClientFactory can be registered and used to configure and create HttpClient instances in applications. The advantages of IHttpClientFactory are as follows:
Provides a central location for naming and configuring logical HttpClient instances. For example, a client named GitHub can be registered and configured to access GitHub. You can regis ...
Posted by radman08 on Fri, 22 Oct 2021 18:42:27 +0200
Concept and usage of message queue Rabbit MQ
The popular open source message middleware in the industry includes ActiveMQ, rabbitmq, RocketMQ, Kafka and ZeroMQ, among which rabbitmq, RocketMQ and Kafka are the most widely used. Redis can also be a mechanism similar to Queue and Pub/Sub to some extent, but it is not strictly a message oriented middleware. This article will talk about the b ...
Posted by monotoko on Wed, 20 Oct 2021 06:07:53 +0200
kafka installation and configuration (cross platform: both windows and linux Installation, including zk and jdk installation)
1.jdk installation
1) windows install jdk
1. Download
Open the following link: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html , enter the JDK1.8 download official website, or directly Baidu JDK1.8, or enter the download official website.
After entering the official website, download the JDK of the c ...
Posted by ok on Fri, 15 Oct 2021 23:39:33 +0200
Write a simple middleware
I believe that those who have used Node.js must be familiar with middleware. The emergence of middleware, without exception, was born to improve our code writing efficiency. However, many small partners have used Express middleware, but they have not written their own middleware. Today I will take you to write a simple middleware
1. Concept of ...
Posted by ricroma on Sun, 10 Oct 2021 14:03:44 +0200