Dubbo 2.7.x with Zookeeper registryI tried to use Zookeeper as Dubbo registry. The official documentation suggests maven dependency as show below:Apr 8, 2021Apr 8, 2021
Use Spring AOP to log POST requests.I tried to log every POST requests of my Spring MVC projects. Not feeling like to add logger.trace(...) at every POST entry, I decided to…Jun 21, 2019Jun 21, 2019
Manage a Spring boot fat jar with SystemdThe fat jar created by Spring-boot is great. You throw it into the server, start it with java -jar fat.jar, and you are done. But how do…Apr 3, 2019Apr 3, 2019
Installing rabbitmq on CentOS 6The first step is to install erlang. But you don’t want to install thisSep 10, 20181Sep 10, 20181
Debugging in Webstorm with sourcemapsYesterday Webstorm stopped follow the breakpoints in the source code while I was debugging. The source code is compiled with babel and…Aug 1, 2018Aug 1, 2018
Winston@3 Customize timestamp formatTrying to log errors with winston, here is how I created the loggerJul 27, 2018Jul 27, 2018
Debugging Expressjs With PM2 And VscodeI love to run expressjs with pm2, but how do I debug a pm2 managed process with Vscode?Apr 8, 20181Apr 8, 20181
Journey to Spring — Java9 JAXBI downloaded the starter kit from http://start.spring.io/, unzipped it, then ran the command ./mvnw spring-boot:run. It ran smooth for a…Mar 31, 2018Mar 31, 2018
I made a horrible mistake when using RedisEarlier this morning I was trying to fix some data in my Redis database, I renamed one key to another with the RENAME command, without…Mar 28, 2018Mar 28, 2018