Talk about cannal's cannaladapterworker
order
This paper mainly studies the CanalAdapterWorker of canal
CanalAdapterWorker
canal-1.1.4/client-adapter/launcher/src/main/java/com/alibaba/otter/canal/adapter/launcher/loader/CanalAdapterWorker.java
public class CanalAdapterWorker extends AbstractCanalAdapterWorker {
private static final int BATCH_SIZE = 50;
private static final ...
Added by Saviola on Mon, 06 Apr 2020 03:42:57 +0300
The recollection of the written test questions of the software engineering master in 2018, Jilin University School of software
Note: the title of written test programming is handwritten, with a full score of 150 and a time of 2 hours.
This year is the second year of enrollment. For the first year of re examination, please refer to https://blog.csdn.net/qq_27513221/article/details/79424084
In terms of topic types, there are mainly recursion, en ...
Added by drax007 on Mon, 06 Apr 2020 03:08:26 +0300
How does BlockingQueue play threads like this?
Preface
BlockingQueue is blocking queues. It's a wonderful way to use ReentrantLock. Based on its basic principles, we can achieve long-connection chat on the Web. Of course, the most common way to do this is to implement producer-consumer mode, as shown in the following figure:
In Java, BlockingQueue is an interface whose implementation class ...
Added by spectsteve7 on Sat, 04 Apr 2020 19:56:37 +0300
The solution to the accuracy problem of JavaScript floating point arithmetic bignumber.js
The principle of accuracy is described in the previous article. https://my.oschina.net/xiaogg/blog/2998192 Also mentioned some solutions
Today I'm going to talk about a new approach
Is to make use of bignumber.js This plugin. I've applied this plugin to the calculation of grocery shopping
Instance address: http://tool.bitefu.net/jisuan/
Buy ...
Added by idnoble on Fri, 03 Apr 2020 19:24:41 +0300
Java basic enhancement reflection mechanism
1 Introduction to reflection mechanism
The reflection mechanism of Java refers to that in the running state of a program, you can construct an object of any class, understand the class to which any object belongs, understand the member variables and methods of any class, and call the properties and methods of any object. This dynamic access to ...
Added by chopficaro on Fri, 03 Apr 2020 07:36:48 +0300
Jquay review summary
1 optional combination of selectors, mixed use
<span style="font-size:14px;color:#006600;"></span>
// Multiple selectors are separated by spaces or specified symbols to match the elements represented by the last selector that has a specified relationship with the former
$("#uid span"); // Select al ...
Added by ryanlwh on Tue, 31 Mar 2020 16:12:33 +0300
Learning: simple programming of plsql for Oracle Database
Tools: CMD sqlplus
Content: basic table operation, plsql programming (branch structure, loop, judgment, etc.)
Account: scott
preparation in advance
Tips for using cmd
Because the author uses sqlplus and enters in the cmd environment. It's not easy to edit the text in cmd environment, so I'll give you some tips.
A ...
Added by ianitm on Mon, 30 Mar 2020 19:37:27 +0300
openGL learning notes - hybrid
Discard clip: for the rendering of transparent objects, you can discard the clip:
void main()
{
vec4 texColor = texture(texture1, TexCoords);
if(texColor.a < 0.1)
discard;
FragColor = texColor;
}
Blend: although it's good to discard the clip directly, it can't render a translucent image. We ei ...
Added by point86 on Mon, 30 Mar 2020 18:27:09 +0300
PHP FFI Details - A new way to extend PHP
This article address: https://www.laruence.com/2020/03/11/5475.html
Please indicate the source for reprinting
With PHP 7.4 comes an extension that I think is very useful: PHP FFI (Foreign Function interface), which refers to a description in a PHP FFI RFC:
For PHP, FFI provides a way to write PHP extensions and bindings to C li ...
Added by $SuperString on Mon, 30 Mar 2020 06:00:01 +0300
The use of listener in spring boot
In business development, listeners are often used. For example, when events of the same type are triggered in multiple scenarios, it is more suitable to use listeners. There are several forms of using listeners in spring boot, which are slightly different
Customize the start of SpringApplication
SpringApplication springApplication = new S ...
Added by Hamlets666 on Sun, 29 Mar 2020 17:03:03 +0300