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...Sep 4, 2025 · 1 min readblog.adafycheng.dev
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...Jan 6, 2025 · 1 min readblog.adafycheng.dev
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 ...Jan 18, 2024 · 3 min readblog.adafycheng.dev
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...Jul 19, 2023 · 1 min readblog.adafycheng.dev
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-worldOct 26, 2022 · 1 min readblog.adafycheng.dev