-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FABN-1054: Private pool in EventHubFactory
Using channel.getChannelEventHub() to obtain event hubs in EventHubFactory meant that users might inadvertently use the same event hubs in their own code. This could potentially cause problems with use of the fabric-network API if users performed a disruptive action, such as using the event hub to replay previous block events. Instead, maintain a private pool of event hubs in EventHubFactory, with event hubs created using channel.newChannelEventHub(). Change-Id: If8ff4254500f22ea0ef4d4ff8732a440476aa0b1 Signed-off-by: Mark S. Lewis <[email protected]>
- Loading branch information
1 parent
48d73d8
commit 54026a4
Showing
6 changed files
with
213 additions
and
82 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
Oops, something went wrong.