象帝浮华生

Relationship of RabbitMQ connection channel

Original link: https://www.ahianzhang.com/post/rabbit-network/ The Rabbit java client sends the message code as follows 1 2 3 4 5 6 7 8 Connection connection = connectionFactory.newConnection(); Channel channel = connection.createChannel(); AMQP.BasicProperties basicProperties = new AMQP.BasicProperties().builder() .messageId (UUID.randomUUID().toString()) .build(); channel.basicPublish(“biz”,”dev.hello”,false,basicProperties,”Hello World”.getBytes()); channel.close(); connection.close(); For AMQP 0-9-1 network connection, a client will establish a Tcp long connection (Connection) […]

Relationship of RabbitMQ connection channel Read More »

A simple comparison of the application principles of RabbitMQ and Kafka

Original link: https://www.ahianzhang.com/post/message-queue/ RabbitMQ and Kafka are used in practical work. This article focuses on some cognitions on the use of the two. It does not involve technical details, but only for practical reference. RabbitMQ is mostly used to process information interaction between business systems, so it is necessary to ensure the reliability and idempotency

A simple comparison of the application principles of RabbitMQ and Kafka Read More »

Introduction to Alibaba Cloud OpenSearch

Original link: https://www.ahianzhang.com/post/summary20/ Alibaba Cloud OpenSearch is a commercial search product developed based on the Ha3 engine. From my personal experience in use, it can be said that OpenSearch is the implementation of a complete set of enterprise-level search solutions. Let’s take a look at the features of OpenSearch. The current search logic drop-down prompt

Introduction to Alibaba Cloud OpenSearch Read More »