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