-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First stage of adding support for dynamic invoker id assignment
Add a handshake between the invoker and controller during invoker startup to allow the controller an opportunity to dynamically assign the invokerId (the topic to which the invoker listens to accept work). The invoker provides a UUID and optionally a suggested invokerId to the controller via the invokerReg topic of the messaging provider. The controller responds with an assigned invokerID on a topic named by the UUID. After receiving its invokerId, the rest of invoker startup proceeds as before. To support different deployment scenarios, both the UUID and the suggested invokerId may be provided externally to the invoker. This can supports options such as the current completely static assignment of invokerIds (which is the default for this PR), as well as dynamic, but stable, invokerId assignments via a stable UUID per invoker VM, and purely dynamic assignments via randomUUIDs per dynamic invoker instance.
- Loading branch information
1 parent
5f84bb9
commit 20f11b0
Showing
8 changed files
with
159 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters