eureka
eureka copied to clipboard
fix: Replace static %d placeholders with AtomicInteger in thread factories
Summary
Resolves thread naming issues caused by removing Guava's ThreadFactoryBuilder in #1526. Previously, thread names like Eureka-Worker-%d relied on Guava's formatting. This PR replaces %d with AtomicInteger to generate unique names (e.g., Eureka-Worker-1).
Changes
- Added
AtomicIntegerto dynamically number threads. - Fixed 3-4 instances of thread factories.