It was intended to continue updating Analysis of ActiveMQ authorized source code simpleAuthentication (1) Because of the busy work and new tasks, the company plans to set up a message center for business reasons. Meanwhile, it needs to know the disconnection and establishment of the connection (business: the mobile phone needs to upload the g ...
Posted on Sun, 19 Apr 2020 22:54:23 -0700 by Devil_Banner
Manually create Maven projects and establish dependencies between the two projects
1. Build maven project quickly with command line
->Enter directly or input what you want to generate by yourself
->If there is a default value, just enter
Finally y confirms the creation
Posted on Sat, 18 Apr 2020 09:33:13 -0700 by mesh2005
java is used to realize the function of sending and receiving short messages. At present, there are three ways to realize the function of group sending short messages in general projects
·1. Apply for SMS gateway to the operator without additional equipment, and use the API calling program provided by the operator to send SMS, which ...
Posted on Fri, 17 Apr 2020 23:09:47 -0700 by mburkwit
ActiveMQ supports pluggable security mechanisms to switch between different provider s. Authorization authentication supports three ways:
Just add the following configuration to the \ conf \ ActiveMQ. XML
<authenticationUser us ...
Posted on Thu, 16 Apr 2020 03:54:03 -0700 by macewan
When using limit paging query, do delete operation, which will result in data loss
1, Prepare data
1.1 mysql data script
1. All data before verification
2. Data on the first page
3. Delete records
4. Add record
5. Data on the second page
6. Data after verification
Four, suggesti ...
Posted on Wed, 15 Apr 2020 09:18:15 -0700 by roadkillguy
At present, many live fans use live streaming made by OSS + RTMP, many of which are enterprise-level applications. Because the reception of OSS as a push is slightly complicated, let's start with it separately.Actually, it is not recommended to use OSS+RTMP for live streaming, because OSS's streaming is more suitable for speci ...
Posted on Mon, 13 Apr 2020 19:34:00 -0700 by TomT
The full name of HPA is Horizontal Pod Autoscaler, translated into Chinese is POD level autoscaling. HPA will replace Horizontal Pod Autoscaler with HPA below. HPA can automatically scale the number of pods in replication controller, deployment and replicaset based on CPU utilization rate (in addition to CPU utilization, it can also be based o ...
Posted on Sat, 11 Apr 2020 12:11:17 -0700 by gamblor01
The article was first published on WeChat Public Number (Code Ape Technical Column). It was not easy to create. Thank you for your support.
Zookeeper believes you've heard about it, and the most typical use is as a service registry.Today, Chen Mou takes you to Zookeeper from zero basics. After reading this article, you will have ...
Posted on Fri, 10 Apr 2020 21:46:03 -0700 by EWaveDev
[search series] Solr identity authentication and authorization update exception solution
In the previous introduction to solr, solr did not turn on permission verification, and all operations did not need authentication. It was mentioned at that time that if solr turned on permission verification, change solr's host and bring the user name / ...
Posted on Sun, 05 Apr 2020 10:27:11 -0700 by AnAmericanGunner
centos7 deploys nginx service, maps the local port, simply displays the local static html page, and accesses the local http: / / < local IP >/
1. Install docker
yum install docker
2. Start docker
systemctl start docker
3, Download nginx image
docker pull nginx
4. Configu ...
Posted on Sun, 05 Apr 2020 10:01:13 -0700 by thelinx