Configure Environment Variables in JUnit TestsIn this article, we'll write a JUnit Test configured with Environment Variables using junit-pioneer library. First of all, we need to add the junit-pioneer library and maven-surefire-plugin to the Maven pom.xml. <project> <properties> <p...1 min read·blog.adafycheng.devSep 4, 2025
RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer)Problem The problem occurs when using the Python requests library, the chardet library is not installed. /Users/adacheng/Library/Python/3.9/lib/python/site-packages/requests/__init__.py:86: RequestsDependencyWarning: Unable to find acceptable charact...1 min read·blog.adafycheng.devJan 6, 2025
Kafka BasicsApache Kafka is an open-source distributed event streaming platform for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications. Introduction This article aims to provide basic hands-on instructions ...3 min read·blog.adafycheng.devJan 18, 2024
Spring Boot Application fails to start since it fails to load region from system settings when AWS STS module is includedProblem When AWS STS module is included in a Spring Boot Application, exception complaining region not set is thrown. Maven pom.xml <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>sts</artifactId> </dependency> Error M...1 min read·blog.adafycheng.devJul 19, 2023
Trivy - Image Scanning ToolInstallation Follow the instruction in this article to install Trivy. Scan To scan the docker image: Build the image. docker build . -t hello-world Scan the image. trivy scan hello-world1 min read·blog.adafycheng.devOct 26, 2022