Skip to content

Tags: mincong-h/java-examples

Tags

blog/spring-data-mongodb

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Cleanup MongoDB module (#227)

* Hide dependency of MongoDB

* Upgrade to Spring Boot 2.5.2

* Use AbstractMongoClientConfiguration

* Fix tests

* Replace SpringBootApplication by Configuration

* Rename AppConfig to MongoConfig

blog/akka-backoff

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Akka: exponential backoff supervision strategy (#202)

* Add new Akka actor

* Add Elasticsearch as dependency

* Use High-Level REST client in document writer

* Add test

* Move interface to another file

* Remove ES usage

* Make classes easier to understand

* Add more test

* Add non-backoff implementation

* Setup and shutdown the system per test

* Avoid spamming the logs

* Avoid hard-coding max-retries

* Add request and response

* Use CreateDocumentRequest

* Move backoff mechanism to DocumentCreator

* Use DocumentCreator directly in tests

* Rename test

* Simplify code

* Remove dead code

blog/junit5-dynamic-tests

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #199 from mincong-h/junit5

JUnit5: dynamic tests

blog/mongo-schema-compatibility

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
s/isCancelled/isCanceled (#194)

blog/junit5-parameterized-tests

JUnit: Create demo for enum conversion

blog/feature-flag

Reliability: Move MyJob to src/main/java

blog/throttler

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Create new module: Reliability (#154)

* Create new module: Reliability

* Add Throttler

blog/java-time

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Java time (#147)

* Java Time: CF & Jackson

* Add Typesafe Config

blog/glob

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update glob expression (#104)

* Rename to GlobExpressionTest

* Add link to blog

* Simplify expression

* Update README

* Update demos of glob:*.txt

* Update demos of glob:**.txt

* Update demos of glob:**/*.txt

* Add top-level files

* Use parameterized testing

* Add comment

* Add comment

* More parameterized testing

* More parameterized tests

* Comment style

* More paths

* Change position

blog/completable-future

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Concurrency: Why Do We Need Completable Future? (#51)

* Add BasicSyntaxDemo

* Add thread pool and futures

* wip

* Add link

* Add link