-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## BREAKING CHANGE FOR EVENTHUBS ❗❗ ### Eventhub Peer Redesign This PR performs a redesign of our Eventhubs peer architecture on the core engine side. Create Peer UI is going to be a follow up PR to this. `Eventhub` and `Eventhub Group` peers are **removed.** However `EventhubConfig` and `EventhubGroupConfig` are still in use. A new peer - `Eventhubs` is the only peer related to this queue. #### Current structure of Eventhubs peer The `Eventhubs` peer is an extension of the earlier `EventhubGroup` peer, with it now having a list of `EventhubConfig`s. You can create an `Eventhubs` peer via the SQL Layer as follows: ```sql CREATE PEER eventhubs_peer_x FROM EVENTHUBS WITH ( eventhubs = '[{"subscription_id":"my-sub-id", "resource_group":"myresource", "namespace":"mynamespace-1", "location":"eastus", "partition_count":5, "message_retention_in_days":2 }, {"subscription_id":"my-sub-id", "resource_group":"myresource", "namespace":"mynamespace-2", "location":"eastus", "partition_count":3, "message_retention_in_days":1 } ]', unnest_columns = [] -- can omit this field too ); ``` The UI has had changes made to it to reflect the above redesign, with no displays showing the earlier two peers. <img width="1185" alt="Screenshot 2024-04-02 at 6 59 14 PM" src="https://github.com/PeerDB-io/peerdb/assets/65964360/36d9dbfc-b271-4340-87c0-3a31a03abccf"> #### Functional testing of this PR - Create peer command for `Eventhubs` tested via SQL Layer - Create mirror with the redesigned peer tested via UI
- Loading branch information
1 parent
9b926ee
commit c1d10e5
Showing
19 changed files
with
94 additions
and
137 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.