Use multiple JDKs in one Jenkinsfile
As usual, the Jenkins pipeline will only use the default JDK to execute the task. How to use multiple JDKs in one Jenkinsfile for different stages? First, define the multiple JDKs in Jenkins “Global...
Just One Pure Coder
As usual, the Jenkins pipeline will only use the default JDK to execute the task. How to use multiple JDKs in one Jenkinsfile for different stages? First, define the multiple JDKs in Jenkins “Global...
We found the spring boot project running containers will keep restarting after some time, maybe 10 days, maybe 5 days. The root cause is spring logback is writing log files into /tmp/ directory as...
How to set statement timeout for query execution? Prerequisites: sqlalchemy 1.3.19 MySQL 5.7.13 You can set the connection timeout easily like this:
1 2 |
sqlalchemy.create_engine("mysql+pymysql://{}:{}@{}:{}/{}?charset={}", connect_args={'connect_timeout': 10}) //10 seconds |
in some JPA project, CrudReporsitory.save() is used this way:
1 |
repository.save(oldtEntity) |
sometime the oldEntity will be set with new properties, but sometimes you will find that the new assigned ID has not been set to...
org.apache.kafka.common.errors.RecordTooLargeException: The message is xxxx bytes when serialized which is larger than the maximum request size you have configured with the max.request.size configuration. How to fix this when you are using confluent Kafka docker....
Swarmprom is a starter kit for Docker Swarm monitoring with [Prometheus](https://prometheus.io/), [Grafana](http://grafana.org/), [cAdvisor](https://github.com/google/cadvisor), [Node Exporter](https://github.com/prometheus/node_exporter), [Alert Manager](https://github.com/prometheus/alertmanager) and [Unsee](https://github.com/cloudflare/unsee). https://github.com/stefanprodan/swarmprom.git
In this post, a simple health checker for one microservice will be created using the Jenkins pipeline. Prerequisites: Publish Over SSH Mattermost Notification Plugin Groovy Postbuild Jenkins
In this post, a simple health checker for one microservice will be created using theJenkins pipeline. Prerequisites: Mattermost Notification Plugin cURL or similar Jenkins
In microservices, the front service should use the Password Credentials to let users log in with the web browser, and other services in the background should use Client Credentials.
Today after I installed Docker Desktop in my Windows 10 and restarted the system, I found that my desktop always shows a black blank screen. And you can not remove those fake monitors from...
Follow: