Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
The default uuid generator was from old days based on ActiveMQ that as a broker had the need to generate UUID that are unique across a fleet of brokers (hosts) and therefore it included the hostname in the id.
This has the drawback today as the hostname needs to be resolved once which does a DNS lookup (its not an ip adr) and therefore it can delay the startup.
Also on graalvm, quarkus etc then we use the new vanilla generator instead. Also we dont want to native compile and get the hostname of the os that compiled.
The vanilla generates is fast and generate unique ids, also across a fleet of nodes. So lets consider switching to it.
Also discussed on the chat forum
https://camel.zulipchat.com/#narrow/stream/257298-camel/topic/DefaultUUIDGenerator.20inet.20call.20timeout.20issue