Chat about the ChangeEventQueue of debezium
order
This article mainly studies the ChangeEventQueue of debezium
ChangeEventQueueMetrics
debezium-v1.1.1.Final/debezium-core/src/main/java/io/debezium/connector/base/ChangeEventQueueMetrics.java
public interface ChangeEventQueueMetrics {
int totalCapacity();
int remainingCapacity();
}
The ChangeEventQueueMetrics interface defines ...
Posted by Fehnris on Tue, 12 May 2020 09:50:46 -0700
Spring boot docker Jenkins automatic deployment and image upload
springboot + docker + jenkins automatic deployment project. jenkins, mysql and redis are all operated by docker without using virtual machine. They are running on Alibaba cloud server (centos7)
1. Don't talk about the preparatory work
2. Create a new Dockerfile in the root directory of the project
The contents of the Dockerfile file are:
#base ...
Posted by MyWebAlias on Mon, 04 May 2020 02:13:46 -0700
Kali 2017.3 open VNC remote desktop login
Turn on Remote Desktop login by enabling screen sharing. After turning on, you need to turn off encryption. Otherwise, you will not be able to connect. Closing encryption can be done by using the system configuration tool dconf. So install dconf editor first.
Update source and install system configuration tool (cannot install without updating s ...
Posted by xfezz on Fri, 01 May 2020 10:16:12 -0700
Qt open source works 2-video streaming vlc core
1, Foreword
The last work is made by the ffmpeg kernel. Because ffmpeg is too powerful, many beginners will see the state of confusion. There are also many users who only need a simple video stream to play, which does not need to involve the decoding and transcoding. So vlc came on the stage. It directly encapsulates ffmpeg in depth and provid ...
Posted by opencombatclan on Mon, 27 Apr 2020 03:00:32 -0700
Backup and recovery scheme of cloud disk data volume in ACK cluster
The cloud disk data volume is usually used for data storage when deploying stateful services in the Alibaba cloud ACK cluster. The cloud disk itself provides a backup (snapshot) recovery mechanism for data. However, how to integrate the underlying capabilities and K8S services and flexibly provide them to applications is a problem that the clou ...
Posted by Brit on Sat, 25 Apr 2020 02:56:22 -0700
Arrange learning notes of angular4 route usage of angular4
This chapter talks about the routing of angular
Let's talk about how to introduce angular routing. In the beginning, the new angular project has its routing configured for you, but it depends on app.module.ts
1. First, the routing module should be introduced at the top
import {RouterModule, Routes} from '@angular/ro ...
Posted by g.grillo on Mon, 20 Apr 2020 21:36:46 -0700
Spring clould Alibaba integrated Ribbon&Feign
Spring clould Alibaba integrated Ribbon
1. Add annotation @ LoadBalanced on resttemplate
2. When calling, you can use the service name to call, which is the same way as the previous use of Eureka
The default is polling policy
@RequestMapping("/getGoods")
public ResponseResult getGoods() {
String url="http://goods-provide/getGoods"; ...
Posted by Fusioned on Tue, 14 Apr 2020 06:16:44 -0700
Realizing the snapshot backup function of "copy on write" based on rsync and ln
1, Fundamentals
Here, "copy on write" is enclosed with a quotation mark, because this is specifically for the copy on write effect when rsync backup is used, rather than the actual copy on write effect. Its purpose is as follows:
After backing up the data using rsync, create a snapshot immediately:
The data state of the snapsh ...
Posted by primuz on Mon, 06 Apr 2020 00:17:49 -0700
PowerShell batch open EC2 Termination Protection
My colleague planned to restart an EC2 instance two days ago, but the result was that his hand slipped to Termination, and then EC2 was tragic. Fortunately, there was a Snapshot backup, and the server was successfully restored after 15 minutes.
It can be seen that reboot and terminate are very close, so in order to avoid the tragedy happening ...
Posted by anler on Fri, 03 Apr 2020 14:16:44 -0700
dubbo source code analysis 5 -- ServiceBean publishing service
Publishing service ServiceBean
Release entrance
ServiceBean implements the afterpropertieset() method of the interface InitializingBean
public void afterPropertiesSet() throws Exception {
//Set provider, application, registers
//Publishing service
if (!isDelay()) {
export();
}
}
If the service has ...
Posted by danf_1979 on Mon, 30 Mar 2020 12:53:21 -0700