-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for MirrorMaker replication flows
This commit adds the ability to list, create, update, get, delete MirrorMaker replication flows. Examples: Create: ```bash $ avn mirrormaker replication-flow create --project test mirrormaker --source-cluster s --target-cluster t '{"enabled": true, "topics": ["customer\\..*", "warehouse\\.operations"]}' ``` List: ```bash $ avn mirrormaker replication-flow list --project test mirrormaker [ { "enabled": true, "source_cluster": "s", "target_cluster": "t", "topics": [ "customer\\..*", "warehouse\\.operations" ] } ] ``` Get one: ``` avn mirrormaker replication-flow get --project test mirrormaker --source-cluster s --target-cluster t { "enabled": true, "source_cluster": "s", "target_cluster": "t", "topics": [ "customer\\..*", "warehouse\\.operations" ] } ``` Edit: ``` avn mirrormaker replication-flow update --project test mirrormaker --source-cluster s --target-cluster t '{"enabled": false, "topics": ["customer\\..*", "warehouse\\.operations"]}' ```
- Loading branch information
Showing
3 changed files
with
102 additions
and
0 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