Connect to AWS VPC via VPN and Mikrotik CHRWe have a requirement to connect to some EC2 servers inside an AWS VPC from office. Due to some limits we cannot use AWS site2site VPN; so…Oct 6, 202311Oct 6, 202311
Istio-Ingressgateway, Health check failedOn a newly AWS EKS cluster, istio 1.18 is installed. However the LB health check failed (0 node healthy) for istio-ingressgateway service.Sep 15, 2023Sep 15, 2023
Validate ES256/384 JWT tokens by JDKI need to validate a JWT token, created as ES256 or ES384 alg. By checking the well-known libraries(from…Sep 7, 2023Sep 7, 2023
Kafka, retention is not work ?Got warnings from Kakfa Cluster on Prod (Storage > 80%).May 16, 20231May 16, 20231
GraalVM and GuiceI am building the native code for a project which uses Google Guice as DI engine.Mar 8, 2023Mar 8, 2023
Clone my apartment entrance cardThe management office of my apartment gives me 5 cards, looks likeDec 27, 2022Dec 27, 2022
Install Kube2iam on Amazon EKSTo access resources in AWS, a POD running in EKS can use either ways to grant the permission:Jun 27, 2022Jun 27, 2022
Spring Cloud Gateway with logsWhen using the Spring Cloud Gateway, I want to show the request/response details in logs. This thread helped a lot:Mar 10, 20221Mar 10, 20221
Validate Azure B2C id_tokenFor a web app, Azure b2c login is used and in a 3rd party backend service we want to validate it is a valid request.Feb 9, 2022Feb 9, 2022
Send requests to .net Core http2 serverMy workmate developed a .net core 3.1 RESTFUL service with the following configurations:Nov 22, 2021Nov 22, 2021
AWS classic ELB mode (TCP & HTTP) configs for new protocolsWe have been using the Classic AWS ELB for a long time and planning to migrate to the new version of the ELB (NLB / ALB). But so far the…Jul 15, 2021Jul 15, 2021
Load EC public key / private key from Stringprivate void loadPublicKey() { try { String pubKey =…Nov 10, 2020Nov 10, 2020
SpringBoot2, enables http2 cleartextHttp2 has many advantages over http 1.0/1.1Oct 23, 2020Oct 23, 2020
Filling a Canvas, Single Threaded and Multiple ThreadedPretty Simple Question. How to fill a canvas.Aug 19, 2020Aug 19, 2020
Build a kafka cluster with SSL with docker / docker-compose and Java ClientRequirements:May 11, 20202May 11, 20202
Coin Change problem, From LeetCode 518Source of the question: https://leetcode.com/problems/coin-change-2/Nov 28, 2019Nov 28, 2019
AWS/EKS : 1 Insuffcient PODS ErrorGot this error yesterday when deploying an activemq cluster. The behavior is, the activemq POD keeps in WAITING status.Nov 20, 2019Nov 20, 2019
Fix appender not found / class_not_found error for Log4j2 / SpringBootIn a springboot2 project, we use log4j2. And to do some customized job, we implemented 2 log4j2 appenders.Jul 25, 2019Jul 25, 2019